Uses of Interface
com.sap.cloud.sdk.cloudplatform.security.principal.Principal
Package
Description
-
Uses of Principal in com.sap.cloud.sdk.cloudplatform.cache
Modifier and TypeMethodDescriptionstatic CacheKey
Constructs aCacheKey
for the given tenant and principal identifier, independent of whether they arenull
or not.static SerializableCacheKey
Constructs aCacheKey
for the given tenant and principal identifier, independent of whether they arenull
or not. -
Uses of Principal in com.sap.cloud.sdk.cloudplatform.resilience
Modifier and TypeMethodDescriptionstatic CacheFilter
CacheFilter.keyMatchesPrincipal
(Principal principal) Creates aCacheFilter
, which includes all cache entries associated withGenericCacheKey
s that are accessible with respect to the passedPrincipal
. -
Uses of Principal in com.sap.cloud.sdk.cloudplatform.security
Modifier and TypeMethodDescriptionio.vavr.control.Try<Principal>
DwcPrincipalFacade.tryGetCurrentPrincipal()
-
Uses of Principal in com.sap.cloud.sdk.cloudplatform.security.principal
Modifier and TypeClassDescriptionclass
This implementation ofPrincipal
represents the information available for an authenticated entity.Modifier and TypeMethodDescriptionstatic Principal
PrincipalAccessor.getCurrentPrincipal()
Returns the currentPrincipal
.Modifier and TypeMethodDescriptionPrincipalAccessor.getFallbackPrincipal()
Global fallbackPrincipal
.io.vavr.control.Try<Principal>
DefaultPrincipalFacade.tryGetCurrentPrincipal()
static io.vavr.control.Try<Principal>
PrincipalAccessor.tryGetCurrentPrincipal()
io.vavr.control.Try<Principal>
PrincipalFacade.tryGetCurrentPrincipal()
Returns aTry
of the currentPrincipal
.Modifier and TypeMethodDescriptionstatic void
PrincipalAccessor.executeWithPrincipal
(Principal principal, Executable executable) Execute the givenExecutable
on behalf of a given principal.static <T> T
PrincipalAccessor.executeWithPrincipal
(Principal principal, Callable<T> callable) Execute the givenCallable
on behalf of a given principal.Modifier and TypeMethodDescriptionstatic void
PrincipalAccessor.executeWithFallbackPrincipal
(Supplier<Principal> fallbackPrincipal, Executable executable) Execute the givenExecutable
, using the given principal as fallback if there is no other principal available.static <T> T
PrincipalAccessor.executeWithFallbackPrincipal
(Supplier<Principal> fallbackPrincipal, Callable<T> callable) Execute the givenCallable
, using the given principal as fallback if there is no other principal available.static void
PrincipalAccessor.setFallbackPrincipal
(Supplier<Principal> fallbackPrincipal) Global fallbackPrincipal
.ModifierConstructorDescriptionPrincipalThreadContextListener
(Principal principal) Constructor for providing aPrincipal
to be returned by this listener. -
Uses of Principal in com.sap.cloud.sdk.s4hana.connectivity.exception
Modifier and TypeFieldDescriptionprotected Principal
AccessDeniedException.principal
Deprecated.The principal reference.Modifier and TypeMethodDescriptionAccessDeniedException.getPrincipal()
Deprecated.The principal reference.Modifier and TypeMethodDescriptionstatic AccessDeniedException
AccessDeniedException.raiseMissingAuthorizations
(Principal principal, String missingAuthorizations) Deprecated.Static factory method to instantiate a new exception.ModifierConstructorDescriptionAccessDeniedException
(Principal principal, String missingAuthorizations) Deprecated.Constructor.