public class JaasPasswordCallbackHandler extends java.lang.Object implements JaasAuthenticationCallbackHandler
| Constructor and Description |
|---|
JaasPasswordCallbackHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(javax.security.auth.callback.Callback callback,
Authentication auth)
If the callback passed to the 'handle' method is an instance of PasswordCallback,
the JaasPasswordCallbackHandler will call,
callback.setPassword(authentication.getCredentials().toString()).
|
public void handle(javax.security.auth.callback.Callback callback,
Authentication auth)
throws java.io.IOException,
javax.security.auth.callback.UnsupportedCallbackException
handle in interface JaasAuthenticationCallbackHandlercallback - auth - java.io.IOExceptionjavax.security.auth.callback.UnsupportedCallbackException