public class JaasPasswordCallbackHandler extends Object implements JaasAuthenticationCallbackHandler
Constructor and Description |
---|
JaasPasswordCallbackHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(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(Callback callback, Authentication auth) throws IOException, UnsupportedCallbackException
handle
in interface JaasAuthenticationCallbackHandler
callback
- auth
- IOException
UnsupportedCallbackException