public class

JaasPasswordCallbackHandler

extends Object
implements JaasAuthenticationCallbackHandler
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 Constructors
JaasPasswordCallbackHandler()
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()).
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.security.authentication.jaas.JaasAuthenticationCallbackHandler

Public Constructors

public JaasPasswordCallbackHandler ()

Public Methods

public 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()).

Parameters
auth The Authentication object currently being authenticated.