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(javax.security.auth.callback.Callback callback,
Authentication auth)
Handle the Callback.
|
void handle(javax.security.auth.callback.Callback callback, Authentication auth) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
callback
- auth
- The Authentication object currently being authenticated.java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException