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:
-
Constructor Summary
ConstructorsConstructorDescriptionPac4jRememberMeAuthenticationToken
(List<org.pac4j.core.profile.UserProfile> profiles) -
Method Summary
Methods inherited from class org.springframework.security.authentication.RememberMeAuthenticationToken
equals, getCredentials, getKeyHash, getPrincipal, hashCode
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 Details
-
Pac4jRememberMeAuthenticationToken
-
-
Method Details
-
getName
-
getProfiles
Description copied from interface:Pac4jAuthentication
Get all the profiles of the authenticated user.- Specified by:
getProfiles
in interfacePac4jAuthentication
- Returns:
- the list of profiles
-