org.springframework.security.authentication.jaas
Class JaasAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.UsernamePasswordAuthenticationToken
org.springframework.security.authentication.jaas.JaasAuthenticationToken
- All Implemented Interfaces:
- Serializable, Principal, Authentication, CredentialsContainer
public class JaasAuthenticationToken
- extends UsernamePasswordAuthenticationToken
UsernamePasswordAuthenticationToken extension to carry the Jaas LoginContext that the user was logged into
- See Also:
- Serialized Form
JaasAuthenticationToken
public JaasAuthenticationToken(Object principal,
Object credentials,
LoginContext loginContext)
JaasAuthenticationToken
public JaasAuthenticationToken(Object principal,
Object credentials,
List<GrantedAuthority> authorities,
LoginContext loginContext)
getLoginContext
public LoginContext getLoginContext()