public class ScpCfPrincipal extends DefaultPrincipal
Principal
interface for SAP Cloud Platform Cloud Foundry.Constructor and Description |
---|
ScpCfPrincipal()
Creates a
ScpCfPrincipal with an empty principal identifier, no authorizations, and no attributes. |
ScpCfPrincipal(String principalId,
Set<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes)
Creates a new
ScpCfPrincipal . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
getAttribute, getAttributes, getAuthorizations, getPrincipalId
public ScpCfPrincipal(@Nonnull String principalId, @Nonnull Set<Authorization> authorizations, @Nonnull Map<String,PrincipalAttribute> attributes)
ScpCfPrincipal
.principalId
- The identifier of the principal.authorizations
- The authorizations of the principal.attributes
- The attributes of the principal.public ScpCfPrincipal()
ScpCfPrincipal
with an empty principal identifier, no authorizations, and no attributes.public boolean equals(Object o)
equals
in class DefaultPrincipal
protected boolean canEqual(Object other)
canEqual
in class DefaultPrincipal
public int hashCode()
hashCode
in class DefaultPrincipal
public String toString()
toString
in class DefaultPrincipal
Copyright © 2019 SAP SE. All rights reserved.