org.apache.cxf.jaxrs.security
Class JAASAuthenticationFilter
java.lang.Object
org.apache.cxf.jaxrs.security.JAASAuthenticationFilter
- All Implemented Interfaces:
- RequestHandler
public class JAASAuthenticationFilter
- extends Object
- implements RequestHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAASAuthenticationFilter
public JAASAuthenticationFilter()
setIgnoreBasePath
public void setIgnoreBasePath(boolean ignore)
setContextName
public void setContextName(String name)
setRolePrefix
public void setRolePrefix(String name)
setRedirectURI
public void setRedirectURI(String uri)
setRealmName
public void setRealmName(String name)
getCallbackHandler
protected CallbackHandler getCallbackHandler(String name,
String password)
handleRequest
public javax.ws.rs.core.Response handleRequest(Message m,
ClassResourceInfo resourceClass)
- Specified by:
handleRequest
in interface RequestHandler
handleAuthenticationException
protected javax.ws.rs.core.Response handleAuthenticationException(AuthenticationException ex,
Message m)
getRedirectStatus
protected javax.ws.rs.core.Response.Status getRedirectStatus()
isRedirectPossible
protected boolean isRedirectPossible(javax.ws.rs.core.HttpHeaders headers)
Apache CXF