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 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 interface javax.ws.rs.ext.ExceptionMapper<com.atlassian.plugins.rest.api.security.exception.AuthenticationRequiredException>