| java.lang.Object org.acegisecurity.providers.jaas.JaasNameCallbackHandler
JaasNameCallbackHandler | public class JaasNameCallbackHandler implements JaasAuthenticationCallbackHandler(Code) | | The most basic Callbacks to be handled when using a LoginContext from JAAS, are the NameCallback and
PasswordCallback. The acegi security framework provides the JaasNameCallbackHandler specifically tailored to
handling the NameCallback.
author: Ray Krueger version: $Id: JaasNameCallbackHandler.java 1496 2006-05-23 13:38:33Z benalex $ See Also: Callback See Also: NameCallback |
Method Summary | |
public void | handle(Callback callback, Authentication authentication) If the callback passed to the 'handle' method is an instance of NameCallback, the
JaasNameCallbackHandler will call, callback.setName(authentication.getPrincipal().toString()). |
|
|