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 Form| Modifier and Type | Field and Description |
|---|---|
protected org.jasig.cas.client.authentication.AttributePrincipal |
attributePrincipal |
logger, SEPARATOR| Constructor and Description |
|---|
CasProxyProfile() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProxyTicketFor(java.lang.String service)
Get a proxy ticket for a given service.
|
void |
setPrincipal(org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal)
Store the CAS principal.
|
asPrincipal, getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername, isExpiredaddAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, build, clearSensitiveData, 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, writeExternalprotected org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal
public void setPrincipal(org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal)
attributePrincipal - the principal with attributespublic java.lang.String getProxyTicketFor(java.lang.String service)
service - the CAS serviceCopyright © 2019. All Rights Reserved.