Class Pac4jRememberMeAuthenticationToken
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- org.springframework.security.authentication.RememberMeAuthenticationToken
-
- org.pac4j.springframework.security.authentication.Pac4jRememberMeAuthenticationToken
-
- All Implemented Interfaces:
Serializable
,Principal
,Pac4jAuthentication
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
public class Pac4jRememberMeAuthenticationToken extends org.springframework.security.authentication.RememberMeAuthenticationToken implements Pac4jAuthentication
Pac4j authentication token in case of remember-me.- Since:
- 2.0.0
- Author:
- Jerome Leleu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Pac4jRememberMeAuthenticationToken(List<org.pac4j.core.profile.UserProfile> profiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
List<org.pac4j.core.profile.UserProfile>
getProfiles()
Get all the profiles of the authenticated user.int
hashCode()
-
Methods inherited from class org.springframework.security.authentication.RememberMeAuthenticationToken
getCredentials, getKeyHash, getPrincipal
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, isAuthenticated, setAuthenticated, setDetails, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pac4j.springframework.security.authentication.Pac4jAuthentication
getProfile
-
-
-
-
Constructor Detail
-
Pac4jRememberMeAuthenticationToken
public Pac4jRememberMeAuthenticationToken(List<org.pac4j.core.profile.UserProfile> profiles)
-
-
Method Detail
-
getName
public String getName()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
getProfiles
public List<org.pac4j.core.profile.UserProfile> getProfiles()
Description copied from interface:Pac4jAuthentication
Get all the profiles of the authenticated user.- Specified by:
getProfiles
in interfacePac4jAuthentication
- Returns:
- the list of profiles
-
-