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 tenant-specific user.
|
static CacheKey |
CacheKey.ofTenantAndUserIsolation()
Constructs a tenant- and user-isolated instance of
CacheKey . |
Modifier and Type | Method and Description |
---|---|
User |
AbstractUserFacade.getCurrentUser()
Returns the current
User . |
static User |
UserAccessor.getCurrentUser()
Returns the current
User . |
User |
UserFacade.getCurrentUser()
Returns the current
User . |
Optional<User> |
AbstractUserFacade.getCurrentUserIfAuthenticated()
Returns the current
User , if authenticated. |
static Optional<User> |
UserAccessor.getCurrentUserIfAuthenticated()
Returns the current
User , if authenticated. |
Optional<User> |
UserFacade.getCurrentUserIfAuthenticated()
Returns the current
User , if authenticated. |
static Optional<User> |
UserAccessor.getUserByName(String name)
Returns a
User by its name, if it exists. |
Optional<User> |
UserFacade.getUserByName(String name)
Returns a
User by its name, if it exists. |
Optional<User> |
ScpNeoUserFacade.getUserByName(String name)
Returns a
User by its name, if it exists. |
Optional<User> |
UserFacade.resolveCurrentUser()
Resolves the current
User using the platform-specific lookup. |
Optional<User> |
ScpCfUserFacade.resolveCurrentUser()
Resolves the current
User using the platform-specific lookup. |
Optional<User> |
ScpNeoUserFacade.resolveCurrentUser()
Resolves the current
User using the platform-specific lookup. |
Modifier and Type | Method and Description |
---|---|
protected CacheKey |
CachingCommand.getCommandCacheKey()
Returns the
CacheKey that is used by this command. |
Copyright © 2019 SAP SE. All rights reserved.