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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
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 |