Package org.eclipse.jetty.jaas.callback
Class DefaultCallbackHandler
- java.lang.Object
-
- org.eclipse.jetty.jaas.callback.AbstractCallbackHandler
-
- org.eclipse.jetty.jaas.callback.DefaultCallbackHandler
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
public class DefaultCallbackHandler extends AbstractCallbackHandler
DefaultCallbackHandler An implementation of the JAAS CallbackHandler. Users can provide their own implementation instead and set the name of its class on the JAASLoginService.
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.jaas.callback.AbstractCallbackHandler
_credential, _userName
-
-
Constructor Summary
Constructors Constructor Description DefaultCallbackHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javax.security.auth.callback.Callback[] callbacks)
void
setRequest(Request request)
-
Methods inherited from class org.eclipse.jetty.jaas.callback.AbstractCallbackHandler
getCredential, getUserName, setCredential, setUserName
-
-
-
-
Method Detail
-
setRequest
public void setRequest(Request request)
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
- Specified by:
handle
in interfacejavax.security.auth.callback.CallbackHandler
- Overrides:
handle
in classAbstractCallbackHandler
- Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
-
-