java.lang.Object | ||
↳ | org.springframework.security.authentication.AbstractAuthenticationToken | |
↳ | org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken |
Authentication
implementation for pre-authenticated
authentication.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor used for an authentication request.
| |||||||||||
Constructor used for an authentication response.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the credentials
| |||||||||||
Get the principal
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.security.authentication.AbstractAuthenticationToken
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.security.Principal
| |||||||||||
From interface
org.springframework.security.core.Authentication
| |||||||||||
From interface
org.springframework.security.core.CredentialsContainer
|
Constructor used for an authentication request. The isAuthenticated()
will return
false
.
aPrincipal | The pre-authenticated principal |
---|---|
aCredentials | The pre-authenticated credentials |
Constructor used for an authentication response. The isAuthenticated()
will return
true
.
aPrincipal | The authenticated principal |
---|---|
anAuthorities | The granted authorities |