Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.security.user | |
com.sap.cloud.sdk.testutil |
Modifier and Type | Class and Description |
---|---|
class |
CollectionUserAttribute<T>
A
UserAttribute holding a generic collection of values. |
class |
SimpleUserAttribute<T>
A
UserAttribute holding a simple generic value. |
class |
StringCollectionUserAttribute
A
CollectionUserAttribute holding String values. |
class |
StringUserAttribute
A
SimpleUserAttribute holding a String value. |
Modifier and Type | Method and Description |
---|---|
Optional<UserAttribute> |
User.getAttribute(String name)
Returns the attribute specified by the given name, wrapped in an
Optional . |
Optional<UserAttribute> |
AbstractUser.getAttribute(String name)
Returns the attribute specified by the given name, wrapped in an
Optional . |
Optional<UserAttribute> |
ScpNeoUser.getAttribute(String name)
Returns the attribute specified by the given name, wrapped in an
Optional . |
Map<String,UserAttribute> |
AbstractUser.getAttributes() |
Constructor and Description |
---|
AbstractUser(String name,
Locale locale,
Set<Authorization> authorizations,
Map<String,UserAttribute> attributes) |
ScpCfUser(String name,
Locale locale,
Set<Authorization> authorizations,
Map<String,UserAttribute> attributes)
Creates a new
ScpCfUser . |
Modifier and Type | Method and Description |
---|---|
User |
MockUtil.mockCurrentUser(String userName,
Locale locale,
Collection<Authorization> authorizations,
Map<String,UserAttribute> attributes)
Mocks the current
User . |
User |
MockUtil.mockUser(String userName,
Locale locale,
Collection<Authorization> authorizations,
Map<String,UserAttribute> attributes)
Mocks a
User . |
Copyright © 2019 SAP SE. All rights reserved.