Class ClientCredential
java.lang.Object
org.apereo.cas.authentication.credential.AbstractCredential
org.apereo.cas.authentication.principal.ClientCredential
- All Implemented Interfaces:
Serializable,org.apereo.cas.authentication.Credential
public class ClientCredential
extends org.apereo.cas.authentication.credential.AbstractCredential
This class represents client credentials and (after authentication) a user profile.
- Since:
- 3.5.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the client used to perform the authentication.static final StringThe prefix used when building an identifier for an unauthenticated user.Fields inherited from interface org.apereo.cas.authentication.Credential
CREDENTIAL_TYPE_ATTRIBUTE, UNKNOWN_ID -
Constructor Summary
ConstructorsConstructorDescriptionClientCredential(String clientName, org.pac4j.core.profile.UserProfile userProfile) -
Method Summary
Methods inherited from class org.apereo.cas.authentication.credential.AbstractCredential
equals, getCredentialMetadata, hashCode, isValid, setCredentialMetadata, toString, validate
-
Field Details
-
NOT_YET_AUTHENTICATED
The prefix used when building an identifier for an unauthenticated user.- See Also:
-
AUTHENTICATION_ATTRIBUTE_CLIENT_NAME
The name of the client used to perform the authentication.- See Also:
-
-
Constructor Details
-
ClientCredential
-
-
Method Details
-
getUserProfile
public org.pac4j.core.profile.UserProfile getUserProfile() -
getId
-