|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.auth.callback.SecurityAssociationHandler (src)
org.jboss.web.tomcat.security.WebCallbackHandler
An implementation of CallbackHandler that extends the default SecurityAssociationHandler to add Callbacks that only have sense in a Web environment. In order to use it you need to override the default CallbackHandler used by the JaasSecurityManager.
CallbackHandler
,
handle(Callback[])
Constructor Summary | |
WebCallbackHandler()
|
|
WebCallbackHandler(java.security.Principal principal,
java.lang.Object credential)
Initialize the HttpServletRequestCallbackHandler with the principal and credentials to use. |
Method Summary | |
protected HttpServletRequest |
getHttpServletRequestFromValve()
Obtains the HttpServletRequest saved inside the HttpServletRequestValve. |
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Handles SecurityAssociationCallback, ObjectCallback, NameCallback and PasswordCallback types. |
void |
setSecurityInfo(java.security.Principal principal,
java.lang.Object credential)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebCallbackHandler()
public WebCallbackHandler(java.security.Principal principal, java.lang.Object credential)
Method Detail |
public void setSecurityInfo(java.security.Principal principal, java.lang.Object credential)
setSecurityInfo
in class SecurityAssociationHandler (src)
SecurityAssociationHandler.setSecurityInfo(java.security.Principal,
java.lang.Object)
public void handle(javax.security.auth.callback.Callback[] callbacks) throws javax.security.auth.callback.UnsupportedCallbackException
SecurityAssociationHandler (src)
handle
in interface javax.security.auth.callback.CallbackHandler
handle
in class SecurityAssociationHandler (src)
javax.security.auth.callback.UnsupportedCallbackException
CallbackHandler.handle(javax.security.auth.callback.Callback[])
protected HttpServletRequest getHttpServletRequestFromValve()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |