com.atlassian.bamboo.plugins.rest.exception
Class AccessDeniedExceptionMapper

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.exception.AccessDeniedExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.acegisecurity.AccessDeniedException>

@Provider
public class AccessDeniedExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<org.acegisecurity.AccessDeniedException>


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

Constructor Detail

AccessDeniedExceptionMapper

public AccessDeniedExceptionMapper()
Method Detail

toResponse

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


Copyright © 2011 Atlassian. All Rights Reserved.