Class SecurityExceptionMapper

java.lang.Object
org.oxerr.commons.ws.rs.exceptionmapper.SecurityExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<SecurityException>

@Provider @Singleton public class SecurityExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<SecurityException>
Maps SecurityException to Response.
  • Constructor Details

    • SecurityExceptionMapper

      public SecurityExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(SecurityException exception)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<SecurityException>