Class GuestAuthenticationToken
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- org.oxerr.spring.security.guest.authentication.GuestAuthenticationToken
-
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
public class GuestAuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuestAuthenticationToken(String clientToken)
GuestAuthenticationToken(org.springframework.security.core.userdetails.UserDetails userDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCredentials()
Always returns an emptyString
Object
getPrincipal()
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
-
-
-
Constructor Detail
-
GuestAuthenticationToken
public GuestAuthenticationToken(String clientToken)
-
GuestAuthenticationToken
public GuestAuthenticationToken(org.springframework.security.core.userdetails.UserDetails userDetails)
-
-