Class AuthenticationRequiredExceptionMapper
java.lang.Object
com.atlassian.crowd.plugin.rest.exception.mapper.AuthenticationRequiredExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.atlassian.plugins.rest.api.security.exception.AuthenticationRequiredException>
@Provider
public class AuthenticationRequiredExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<com.atlassian.plugins.rest.api.security.exception.AuthenticationRequiredException>
-
Constructor Summary
ConstructorDescriptionAuthenticationRequiredExceptionMapper
(com.atlassian.sal.api.message.I18nResolver i18nResolver) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
toResponse
(com.atlassian.plugins.rest.api.security.exception.AuthenticationRequiredException e)
-
Constructor Details
-
AuthenticationRequiredExceptionMapper
@Inject public AuthenticationRequiredExceptionMapper(com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(com.atlassian.plugins.rest.api.security.exception.AuthenticationRequiredException e) - Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<com.atlassian.plugins.rest.api.security.exception.AuthenticationRequiredException>
-