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 |
USERNAME
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, build, clear, getAttribute, getAttribute, getAttributes, getAttributesDefinition, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
protected org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal
Copyright © 2016. All rights reserved.