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
,UserProfile
public final class CasRestProfile extends CommonProfile
This isCasRestProfile
that represents the CAS TGT when it's obtained via the rest api.- Since:
- 1.8.0
- Author:
- Misagh Moayyed
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pac4j.core.profile.BasicUserProfile
logger, SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description CasRestProfile()
CasRestProfile(String ticketGrantingTicketId, String userName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getTicketGrantingTicketId()
int
hashCode()
void
removeLoginData()
-
Methods inherited from class org.pac4j.core.profile.CommonProfile
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername, isExpired
-
Methods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, build, build, containsAttribute, containsAuthenicationAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternal
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pac4j.core.profile.UserProfile
asPrincipal
-
-
-
-
Method Detail
-
getTicketGrantingTicketId
public String getTicketGrantingTicketId()
-
removeLoginData
public void removeLoginData()
- Overrides:
removeLoginData
in classBasicUserProfile
-
-