Spring Security Framework

org.springframework.security.providers.jaas
Class JaasAuthenticationToken

java.lang.Object
  extended by org.springframework.security.providers.AbstractAuthenticationToken
      extended by org.springframework.security.providers.UsernamePasswordAuthenticationToken
          extended by org.springframework.security.providers.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, GrantedAuthority[] authorities, LoginContext loginContext)
           
JaasAuthenticationToken(Object principal, Object credentials, LoginContext loginContext)
           
 
Method Summary
 LoginContext getLoginContext()
           
 
Methods inherited from class org.springframework.security.providers.UsernamePasswordAuthenticationToken
getCredentials, getPrincipal, setAuthenticated
 
Methods inherited from class org.springframework.security.providers.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,
                               GrantedAuthority[] authorities,
                               LoginContext loginContext)
Method Detail

getLoginContext

public LoginContext getLoginContext()

Spring Security Framework

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