org.hudsonci.rest.api.internal
Class AcegiSecurityExceptionMapper
java.lang.Object
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
|
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 |
AcegiSecurityExceptionMapper
public AcegiSecurityExceptionMapper()
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.