public class CasProxyProfile extends CasProfile
This class is the user profile for sites using CAS protocol with proxy capabilities.
It is returned by the CasClient
coupled with the CasProxyReceptor
.
After the CAS principal has been set through the setPrincipal(AttributePrincipal)
method, proxy tickets can be retrieved for
various CAS services by using the getProxyTicketFor(String)
method.
CasClient
,
CasProxyReceptor
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected org.jasig.cas.client.authentication.AttributePrincipal |
attributePrincipal |
protected org.slf4j.Logger |
logger |
SEPARATOR
Constructor and Description |
---|
CasProxyProfile() |
Modifier and Type | Method and Description |
---|---|
String |
getProxyTicketFor(String service)
Get a proxy ticket for a given service.
|
void |
setPrincipal(org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal)
Store the CAS principal.
|
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, clearSensitiveData, containsAttribute, getAttribute, getAttribute, getAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setLinkedId, setRemembered, toString, writeExternal
protected final org.slf4j.Logger logger
protected org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal
Copyright © 2017. All rights reserved.