public class Pac4jAuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken implements Pac4jAuthentication
Constructor and Description |
---|
Pac4jAuthenticationToken(LinkedHashMap<String,org.pac4j.core.profile.CommonProfile> profiles) |
Modifier and Type | Method and Description |
---|---|
Object |
getCredentials() |
LinkedHashMap<String,org.pac4j.core.profile.CommonProfile> |
getInternalProfilesMap()
Get all the profiles of the authenticated user as a map.
|
Object |
getPrincipal() |
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProfile, getProfiles
public Pac4jAuthenticationToken(LinkedHashMap<String,org.pac4j.core.profile.CommonProfile> profiles)
public Object getCredentials()
getCredentials
in interface org.springframework.security.core.Authentication
public Object getPrincipal()
getPrincipal
in interface org.springframework.security.core.Authentication
public LinkedHashMap<String,org.pac4j.core.profile.CommonProfile> getInternalProfilesMap()
Pac4jAuthentication
getInternalProfilesMap
in interface Pac4jAuthentication
Copyright © 2016. All rights reserved.