Modifier and Type | Class and Description |
---|---|
class |
ScpCfUser
User implementation loading all information from the CloudFoundry platform.
|
class |
ScpNeoUser
A user implementation specific for the Neo platform.
|
Modifier and Type | Method and Description |
---|---|
User |
UserFacade.getCurrentUser()
Returns the current
User . |
static User |
UserAccessor.getCurrentUser()
Returns the current
User . |
User |
ScpCfUserFacade.getCurrentUser()
Returns the current
User . |
User |
ScpNeoUserFacade.getCurrentUser()
Returns the current
User . |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<User> |
UserFacade.getUserByName(String name)
Returns the current
User by its name, if it exists. |
static com.google.common.base.Optional<User> |
UserAccessor.getUserByName(String name)
Returns the current
User by its name, if it exists. |
com.google.common.base.Optional<User> |
ScpCfUserFacade.getUserByName(String name)
Returns the current
User by its name, if it exists. |
com.google.common.base.Optional<User> |
ScpNeoUserFacade.getUserByName(String name)
Returns the current
User by its name, if it exists. |
Modifier and Type | Method and Description |
---|---|
User |
UserNotInRoleException.getUser() |
Constructor and Description |
---|
UserNotInRoleException(User user,
Role role)
Creates the exception with an error message based on the given user and role.
|
UserNotInRoleException(User user,
Role role,
String message)
Creates the exception by delegating the message to the super constructor and storing the user and the rule.
|
UserNotInRoleException(User user,
Role role,
String message,
Throwable cause)
Creates the exception by delegating the message and the causing exception to the super constructor and storing
the user and the rule.
|
Modifier and Type | Method and Description |
---|---|
User |
AccessDeniedException.getUser() |
Modifier and Type | Method and Description |
---|---|
static IcfServiceAccessDeniedException |
IcfServiceAccessDeniedException.raiseMissingAuthorizations(User user,
Iterable<? extends Authorization> missingAuthorizations) |
static AccessDeniedException |
AccessDeniedException.raiseMissingAuthorizations(User user,
Iterable<? extends Authorization> missingAuthorizations) |
Constructor and Description |
---|
AccessDeniedException(User user,
Set<Authorization> missingAuthorizations) |
IcfServiceAccessDeniedException(User user,
Set<Authorization> missingAuthorizations) |
Modifier and Type | Method and Description |
---|---|
User |
MockUtil.mockCurrentUser() |
User |
MockUtil.mockCurrentUser(String userName) |
User |
MockUtil.mockCurrentUser(String userName,
Locale locale,
Collection<? extends Authorization> authorizations,
Map<String,? extends UserAttribute> attributes) |
User |
MockUtil.mockUser(String userName) |
User |
MockUtil.mockUser(String userName,
Locale locale,
Collection<? extends Authorization> authorizations,
Map<String,? extends UserAttribute> attributes) |
Copyright © 2018 SAP SE. All rights reserved.