org.springframework.security.authentication.jaas
Class JaasAuthenticationToken

java.lang.Object
  extended by org.springframework.security.authentication.AbstractAuthenticationToken
      extended by org.springframework.security.authentication.UsernamePasswordAuthenticationToken
          extended by org.springframework.security.authentication.jaas.JaasAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, Authentication

public class JaasAuthenticationToken
extends UsernamePasswordAuthenticationToken

UsernamePasswordAuthenticationToken extension to carry the Jaas LoginContext that the user was logged into

Author:
Ray Krueger
See Also:
Serialized Form

Constructor Summary
JaasAuthenticationToken(Object principal, Object credentials, List<GrantedAuthority> authorities, LoginContext loginContext)
           
JaasAuthenticationToken(Object principal, Object credentials, LoginContext loginContext)
           
 
Method Summary
 LoginContext getLoginContext()
           
 
Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken
getCredentials, getPrincipal, setAuthenticated
 
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaasAuthenticationToken

public JaasAuthenticationToken(Object principal,
                               Object credentials,
                               LoginContext loginContext)

JaasAuthenticationToken

public JaasAuthenticationToken(Object principal,
                               Object credentials,
                               List<GrantedAuthority> authorities,
                               LoginContext loginContext)
Method Detail

getLoginContext

public LoginContext getLoginContext()


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.