com.atlassian.plugins.rest.common.security.jersey
Class SecurityExceptionMapper

java.lang.Object
  extended by com.atlassian.plugins.rest.common.security.jersey.SecurityExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<java.lang.SecurityException>

@Provider
public class SecurityExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<java.lang.SecurityException>

Exception mapper that takes care of security exceptions

Since:
1.0

Constructor Summary
SecurityExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(java.lang.SecurityException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityExceptionMapper

public SecurityExceptionMapper()
Method Detail

toResponse

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


Copyright © 2014 Atlassian. All Rights Reserved.