Class CasProxyProfile

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal  
      • Fields inherited from class org.pac4j.core.profile.BasicUserProfile

        logger
    • Constructor Summary

      Constructors 
      Constructor Description
      CasProxyProfile()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class org.pac4j.core.profile.CommonProfile

        getAttributeAsDate, 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, asPrincipal, build, build, containsAttribute, containsAuthenicationAttribute, extractAttributeValues, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, removeLoginData, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • attributePrincipal

        protected org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal
    • Constructor Detail

      • CasProxyProfile

        public CasProxyProfile()
    • Method Detail

      • setPrincipal

        public void setPrincipal​(org.jasig.cas.client.authentication.AttributePrincipal attributePrincipal)
        Store the CAS principal.
        Parameters:
        attributePrincipal - the principal with attributes
      • getProxyTicketFor

        public java.lang.String getProxyTicketFor​(java.lang.String service)
        Get a proxy ticket for a given service.
        Parameters:
        service - the CAS service
        Returns:
        the proxy ticket for the given service