public class ContextHandlerCallback extends Object implements Callback
LoginModule.login() methods.
The underlying security services instantiate and pass a
ContextHandlerCallback to the
invokeCallback
method of a CallbackHandler to retrieve the
ContextHandler related to this security operation.
If no ContextHandler is associated with this operation,
javax.security.auth.callback.UnsupportedCallbackException
is thrown.
CallbackHandler,
UnsupportedCallbackException| Modifier and Type | Method and Description |
|---|---|
ContextHandler |
getContextHandler()
The ContextHandler, if any, that was passed in.
|
void |
setContextHandler(ContextHandler contextHandler)
Set the value of the ContextHandler attribute.
|
public ContextHandler getContextHandler()
ContextHandlerpublic void setContextHandler(ContextHandler contextHandler)
contextHandler - The non-null ContextHandlerContextHandlerCallback.getContextHandler()