Class SecurityExceptionMapper
- java.lang.Object
-
- com.tangosol.coherence.rest.providers.SecurityExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<SecurityException>
@Provider public class SecurityExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<SecurityException>
Maps SecurityExceptions to 403: Forbidden response.- Author:
- as 2012.01.12
-
-
Constructor Summary
Constructors Constructor Description SecurityExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(SecurityException ex)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(SecurityException ex)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<SecurityException>
-
-