Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.cache | |
com.sap.cloud.sdk.cloudplatform.security.user | |
com.sap.cloud.sdk.frameworks.hystrix |
Modifier and Type | Method and Description |
---|---|
static long |
CacheManager.invalidateUserCaches()
Invalidates all caches of the current user.
|
static long |
CacheManager.invalidateUserEntries(com.google.common.cache.Cache<CacheKey,?> cache)
Invalidates all cache entries of the current user.
|
static CacheKey |
CacheKey.newUserIsolatedKey() |
static CacheKey |
CacheKey.newUserIsolatedKey(CacheKey cacheKey) |
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 . |
com.google.common.base.Optional<User> |
ScpNeoUserFacade.getUserByName(String name)
Returns the current
User by its name, if it exists. |
ScpCfUser |
ScpCfUserFacade.lookupCurrentUser()
Retrieves the current user from the JWT bearer in the Authorization header of the current request.
|
ScpNeoUser |
ScpNeoUserFacade.lookupCurrentUser()
Retrieves the current user via the
UserProvider . |
Modifier and Type | Method and Description |
---|---|
static String |
HystrixUtil.getUserIsolatedKey(Class<?> commandClass)
Returns a tenant- and user-isolated command key.
|
Copyright © 2018 SAP SE. All rights reserved.