Class SecurityExceptionMapper

java.lang.Object
com.tangosol.coherence.rest.providers.SecurityExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<SecurityException>

@Provider public class SecurityExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<SecurityException>
Maps SecurityExceptions to 403: Forbidden response.
Author:
as 2012.01.12
  • Constructor Details

    • SecurityExceptionMapper

      public SecurityExceptionMapper()
  • Method Details

    • toResponse

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