Uses of Interface
com.sap.cloud.sdk.cloudplatform.security.principal.Principal
Packages that use Principal
Package
Description
-
Uses of Principal in com.sap.cloud.sdk.cloudplatform.cache
Methods in com.sap.cloud.sdk.cloudplatform.cache with parameters of type PrincipalModifier 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
Methods in com.sap.cloud.sdk.cloudplatform.resilience that return PrincipalMethods in com.sap.cloud.sdk.cloudplatform.resilience with parameters of type PrincipalModifier 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
Methods in com.sap.cloud.sdk.cloudplatform.security that return types with arguments of type PrincipalModifier and TypeMethodDescriptionio.vavr.control.Try<Principal>
DwcPrincipalFacade.tryGetCurrentPrincipal()
-
Uses of Principal in com.sap.cloud.sdk.cloudplatform.security.principal
Classes in com.sap.cloud.sdk.cloudplatform.security.principal that implement PrincipalModifier and TypeClassDescriptionclass
This implementation ofPrincipal
represents the information available for an authenticated entity.Methods in com.sap.cloud.sdk.cloudplatform.security.principal that return PrincipalModifier and TypeMethodDescriptionstatic Principal
PrincipalAccessor.getCurrentPrincipal()
Returns the currentPrincipal
.Methods in com.sap.cloud.sdk.cloudplatform.security.principal that return types with arguments of type PrincipalModifier 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
.Methods in com.sap.cloud.sdk.cloudplatform.security.principal with parameters of type PrincipalModifier 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.Method parameters in com.sap.cloud.sdk.cloudplatform.security.principal with type arguments of type PrincipalModifier 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
.Constructors in com.sap.cloud.sdk.cloudplatform.security.principal with parameters of type PrincipalModifierConstructorDescriptionPrincipalThreadContextListener
(Principal principal) Constructor for providing aPrincipal
to be returned by this listener. -
Uses of Principal in com.sap.cloud.sdk.s4hana.connectivity.exception
Fields in com.sap.cloud.sdk.s4hana.connectivity.exception declared as PrincipalModifier and TypeFieldDescriptionprotected Principal
AccessDeniedException.principal
Deprecated.The principal reference.Methods in com.sap.cloud.sdk.s4hana.connectivity.exception that return PrincipalModifier and TypeMethodDescriptionAccessDeniedException.getPrincipal()
Deprecated.The principal reference.Methods in com.sap.cloud.sdk.s4hana.connectivity.exception with parameters of type PrincipalModifier and TypeMethodDescriptionstatic AccessDeniedException
AccessDeniedException.raiseMissingAuthorizations
(Principal principal, String missingAuthorizations) Deprecated.Static factory method to instantiate a new exception.Constructors in com.sap.cloud.sdk.s4hana.connectivity.exception with parameters of type PrincipalModifierConstructorDescriptionAccessDeniedException
(Principal principal, String missingAuthorizations) Deprecated.Constructor.