org.hudsonci.rest.api.internal
Class AcegiSecurityExceptionMapper

java.lang.Object
  extended by org.hudsonci.rest.api.internal.AcegiSecurityExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.acegisecurity.AcegiSecurityException>

@Provider
public class AcegiSecurityExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.acegisecurity.AcegiSecurityException>

Generates UNAUTHORIZED responses for AcegiSecurityExceptions.

Since:
2.1.0
Author:
Jason Dillon

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

Constructor Detail

AcegiSecurityExceptionMapper

public AcegiSecurityExceptionMapper()
Method Detail

toResponse

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


Copyright © 2004-2011 Hudson. All Rights Reserved.