| java.lang.Object | ||
| ↳ | org.springframework.security.authentication.AbstractAuthenticationToken | |
| ↳ | org.springframework.security.authentication.AnonymousAuthenticationToken | |
Represents an anonymous Authentication.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Always returns an empty
String | |||||||||||
|
[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.
| key | to identify if this object made by an authorised client |
|---|---|
| principal | the principal (typically a UserDetails) |
| authorities | the authorities granted to the principal |
| IllegalArgumentException | if a null was passed
|
|---|