public class JaasPasswordCallbackHandler extends 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 IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface JaasAuthenticationCallbackHandler
callback
- auth
- IOException
javax.security.auth.callback.UnsupportedCallbackException
Copyright © 2004–2019 Interface21, Inc. All rights reserved.