Package org.eclipse.jetty.jaas.callback
Class AbstractCallbackHandler
- java.lang.Object
-
- org.eclipse.jetty.jaas.callback.AbstractCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
- Direct Known Subclasses:
DefaultCallbackHandler
public abstract class AbstractCallbackHandler extends Object implements CallbackHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected Object_credentialprotected String_userName
-
Constructor Summary
Constructors Constructor Description AbstractCallbackHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetCredential()StringgetUserName()voidhandle(Callback[] callbacks)voidsetCredential(Object credential)voidsetUserName(String userName)
-
-
-
Method Detail
-
setUserName
public void setUserName(String userName)
-
getUserName
public String getUserName()
-
setCredential
public void setCredential(Object credential)
-
getCredential
public Object getCredential()
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
-