Class ScpCfPrincipal
java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.principal.DefaultPrincipal
com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipal
- All Implemented Interfaces:
Principal
Deprecated.
An implementation of the
Principal interface for SAP Business Technology Platform Cloud Foundry.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates aScpCfPrincipalwith an empty principal identifier, no authorizations, and no attributes.ScpCfPrincipal(String principalId, Set<Authorization> authorizations, Map<String, PrincipalAttribute> attributes) Deprecated.Creates a newScpCfPrincipal. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.cloudplatform.security.principal.DefaultPrincipal
getAttribute, getAttributes, getAuthorizations, getAuthorizationsByAudience, getLocalAuthorizations, getPrincipalId, setAuthorizationsByAudience
-
Constructor Details
-
ScpCfPrincipal
public ScpCfPrincipal(@Nonnull String principalId, @Nonnull Set<Authorization> authorizations, @Nonnull Map<String, PrincipalAttribute> attributes) Deprecated.Creates a newScpCfPrincipal.- Parameters:
principalId- The identifier of the principal.authorizations- The authorizations of the principal.attributes- The attributes of the principal.
-
ScpCfPrincipal
public ScpCfPrincipal()Deprecated.Creates aScpCfPrincipalwith an empty principal identifier, no authorizations, and no attributes.
-
-
Method Details
-
equals
Deprecated.- Overrides:
equalsin classDefaultPrincipal
-
canEqual
Deprecated.- Overrides:
canEqualin classDefaultPrincipal
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classDefaultPrincipal
-
toString
Deprecated.- Overrides:
toStringin classDefaultPrincipal
-
DefaultPrincipalinstead.