| org.springframework.security.authentication.jaas.JaasAuthenticationCallbackHandler | 
    
|  Known Indirect Subclasses 
      
      
  
        
              | JaasNameCallbackHandler | The most basic Callbacks to be handled when using a LoginContext from JAAS, are the NameCallback and
 PasswordCallback. |  
              | JaasPasswordCallbackHandler | The most basic Callbacks to be handled when using a LoginContext from JAAS, are the NameCallback and
 PasswordCallback. |  | 
Class Overview
The JaasAuthenticationCallbackHandler is similar to the
 javax.security.auth.callback.CallbackHandler interface in that it defines a
 handle method. The JaasAuthenticationCallbackHandler is only asked to
 handle one Callback instance at at time rather than an array of all
 Callbacks, as the javax... CallbackHandler defines.
 
 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.
 
  
 
Public Methods
 
    
      
        public 
         
         
        abstract 
         
        void
      
      handle
      (Callback callback, Authentication auth)
    
      
    
      
  Handle the Callback. The
 handle method will be called for every callback instance sent from the LoginContext. Meaning that The handle
 method may be called multiple times for a given JaasAuthenticationCallbackHandler.
      Parameters
      
        
          | auth | The Authentication object currently being authenticated. |