Class DefaultPrincipal
java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.principal.DefaultPrincipal
- All Implemented Interfaces:
Principal
This implementation of
Principal
represents the information available for an authenticated entity.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultPrincipal
Creates a newDefaultPrincipal
.- Parameters:
principalId
- The ID of the principal
-
-
Method Details
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getPrincipalId
Description copied from interface:Principal
The identifier for this Principal.- Specified by:
getPrincipalId
in interfacePrincipal
- Returns:
- The identifier.
-