Class JaasAuthenticationToken
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- org.springframework.security.authentication.UsernamePasswordAuthenticationToken
-
- org.springframework.security.authentication.jaas.JaasAuthenticationToken
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.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
-
-
Constructor Summary
Constructors Constructor Description JaasAuthenticationToken(java.lang.Object principal, java.lang.Object credentials, java.util.List<GrantedAuthority> authorities, javax.security.auth.login.LoginContext loginContext)
JaasAuthenticationToken(java.lang.Object principal, java.lang.Object credentials, javax.security.auth.login.LoginContext loginContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.security.auth.login.LoginContext
getLoginContext()
-
Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken
eraseCredentials, getCredentials, getPrincipal, setAuthenticated
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
-
-
-
-
Constructor Detail
-
JaasAuthenticationToken
public JaasAuthenticationToken(java.lang.Object principal, java.lang.Object credentials, javax.security.auth.login.LoginContext loginContext)
-
JaasAuthenticationToken
public JaasAuthenticationToken(java.lang.Object principal, java.lang.Object credentials, java.util.List<GrantedAuthority> authorities, javax.security.auth.login.LoginContext loginContext)
-
-