Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.security.principal | |
com.sap.cloud.sdk.testutil |
Modifier and Type | Class and Description |
---|---|
class |
CollectionPrincipalAttribute<T>
A
PrincipalAttribute holding a generic collection of values. |
class |
SimplePrincipalAttribute<T>
A
PrincipalAttribute holding a simple generic value. |
class |
StringCollectionPrincipalAttribute
A
CollectionPrincipalAttribute holding String values. |
class |
StringPrincipalAttribute
A
SimplePrincipalAttribute holding a String value. |
Modifier and Type | Method and Description |
---|---|
io.vavr.control.Try<PrincipalAttribute> |
ScpNeoPrincipal.getAttribute(String attributeName)
Returns the attribute specified by the given name, wrapped in a
Try . |
io.vavr.control.Try<PrincipalAttribute> |
Principal.getAttribute(String attributeName)
Returns the attribute specified by the given name, wrapped in a
Try . |
io.vavr.control.Try<PrincipalAttribute> |
DefaultPrincipal.getAttribute(String attributeName)
Returns the attribute specified by the given name, wrapped in a
Try . |
Map<String,PrincipalAttribute> |
DefaultPrincipal.getAttributes() |
Constructor and Description |
---|
DefaultPrincipal(String principalId,
Set<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes) |
ScpCfPrincipal(String principalId,
Set<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes)
Creates a new
ScpCfPrincipal . |
Modifier and Type | Method and Description |
---|---|
Principal |
MockUtil.mockCurrentPrincipal(String principalId,
Collection<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes) |
Principal |
MockUtil.mockPrincipal(String principalId,
Collection<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes) |
Copyright © 2019 SAP SE. All rights reserved.