java.lang.Object |
↳ |
org.springframework.security.authentication.jaas.JaasPasswordCallbackHandler |
Class Overview
The most basic Callbacks to be handled when using a LoginContext from JAAS, are the NameCallback and
PasswordCallback. Spring Security provides the JaasPasswordCallbackHandler specifically tailored to
handling the PasswordCallback.
Summary
Public Methods |
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 Constructors
public
JaasPasswordCallbackHandler
()
Public Methods
If the callback passed to the 'handle' method is an instance of PasswordCallback, the
JaasPasswordCallbackHandler will call, callback.setPassword(authentication.getCredentials().toString()).
Parameters
auth
| The Authentication object currently being authenticated. |