public interface JaasAuthenticationCallbackHandler
Before a JaasAuthenticationCallbackHandler is asked to 'handle' any callbacks, it is first passed the Authentication object that the login attempt is for. NOTE: The Authentication object has not been 'authenticated' yet.
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback callback,
Authentication auth)
Handle the Callback.
|
void handle(Callback callback, Authentication auth) throws IOException, UnsupportedCallbackException
callback
- auth
- The Authentication object currently being authenticated.IOException
UnsupportedCallbackException