public class LoginCallbackHandler extends Object implements CallbackHandler
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<Boolean> |
cancelStatus |
| Constructor and Description |
|---|
LoginCallbackHandler() |
LoginCallbackHandler(boolean gui) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCancelStatus()
Check whether the authentication was cancelled by the user.
|
void |
handle(Callback[] callbacks)
This is the callback method called when authentication data is
required.
|
protected ThreadLocal<Boolean> cancelStatus
public LoginCallbackHandler()
public LoginCallbackHandler(boolean gui)
public boolean getCancelStatus()
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.