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