Class ClientCredential

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.authentication.Credential

    public class ClientCredential
    extends java.lang.Object
    implements org.apereo.cas.authentication.Credential
    This class represents client credentials and (after authentication) a user profile.
    Since:
    3.5.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AUTHENTICATION_ATTRIBUTE_CLIENT_NAME
      The name of the client used to perform the authentication.
      static java.lang.String NOT_YET_AUTHENTICATED
      The prefix used when building an identifier for an unauthenticated user.
      • Fields inherited from interface org.apereo.cas.authentication.Credential

        CREDENTIAL_TYPE_ATTRIBUTE, UNKNOWN_ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()  
      • Methods inherited from class java.lang.Object

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

      • NOT_YET_AUTHENTICATED

        public static final java.lang.String NOT_YET_AUTHENTICATED
        The prefix used when building an identifier for an unauthenticated user.
        See Also:
        Constant Field Values
      • AUTHENTICATION_ATTRIBUTE_CLIENT_NAME

        public static final java.lang.String AUTHENTICATION_ATTRIBUTE_CLIENT_NAME
        The name of the client used to perform the authentication.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClientCredential

        public ClientCredential()
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface org.apereo.cas.authentication.Credential