Package org.pac4j.cas.profile
Class CasRestProfile
java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
org.pac4j.cas.profile.CasRestProfile
- All Implemented Interfaces:
Externalizable
,Serializable
,org.pac4j.core.profile.UserProfile
public final class CasRestProfile
extends org.pac4j.core.profile.CommonProfile
This is
CasRestProfile
that represents
the CAS TGT when it's obtained via the rest api.- Since:
- 1.8.0
- Author:
- Misagh Moayyed
- See Also:
-
Field Summary
Fields inherited from class org.pac4j.core.profile.BasicUserProfile
logger
-
Constructor Summary
ConstructorDescriptionConstructor for CasRestProfile.CasRestProfile
(String ticketGrantingTicketId, String userName) Constructor for CasRestProfile. -
Method Summary
Methods inherited from class org.pac4j.core.profile.CommonProfile
getAttributeAsDate, getAttributeAsString, getAttributeAsType, getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername, isExpired, toString
Methods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addRole, addRoles, asPrincipal, build, build, canEqual, containsAttribute, containsAuthenticationAttribute, extractAttributeValues, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setRemembered, setRoles, writeExternal
-
Constructor Details
-
Method Details
-
getTicketGrantingTicketId
getTicketGrantingTicketId.
- Returns:
- a
String
object
-
removeLoginData
public void removeLoginData()- Overrides:
removeLoginData
in classorg.pac4j.core.profile.BasicUserProfile
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.pac4j.core.profile.BasicUserProfile
-
equals
- Overrides:
equals
in classorg.pac4j.core.profile.BasicUserProfile
-