public class ServerLoginCallbackHandler extends Object implements CallbackHandler
| Constructor and Description |
|---|
ServerLoginCallbackHandler() |
ServerLoginCallbackHandler(String username,
String password) |
ServerLoginCallbackHandler(String username,
String password,
String moduleID) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Callback[] callbacks)
This is the callback method called when authentication data is
required.
|
void |
setModuleID(String moduleID) |
void |
setPassword(String pass) |
void |
setUsername(String user) |
public ServerLoginCallbackHandler(String username, String password, String moduleID)
public ServerLoginCallbackHandler()
public void setUsername(String user)
public void setPassword(String pass)
public void setModuleID(String moduleID)
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle in interface CallbackHandlerthe - callback object instances supported by the login module.IOExceptionUnsupportedCallbackExceptionCopyright © 2017. All rights reserved.