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 CacheKeyConstructs aCacheKeyfor the given tenant and principal identifier, independent of whether they arenullor not.static SerializableCacheKeyConstructs aCacheKeyfor the given tenant and principal identifier, independent of whether they arenullor 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 CacheFilterCacheFilter.keyMatchesPrincipal(Principal principal) Creates aCacheFilter, which includes all cache entries associated withGenericCacheKeys 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 TypeClassDescriptionclassThis implementation ofPrincipalrepresents the information available for an authenticated entity.Methods in com.sap.cloud.sdk.cloudplatform.security.principal that return PrincipalModifier and TypeMethodDescriptionstatic PrincipalPrincipalAccessor.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 aTryof the currentPrincipal.Methods in com.sap.cloud.sdk.cloudplatform.security.principal with parameters of type PrincipalModifier and TypeMethodDescriptionstatic voidPrincipalAccessor.executeWithPrincipal(Principal principal, Executable executable) Execute the givenExecutableon behalf of a given principal.static <T> TPrincipalAccessor.executeWithPrincipal(Principal principal, Callable<T> callable) Execute the givenCallableon behalf of a given principal.Method parameters in com.sap.cloud.sdk.cloudplatform.security.principal with type arguments of type PrincipalModifier and TypeMethodDescriptionstatic voidPrincipalAccessor.executeWithFallbackPrincipal(Supplier<Principal> fallbackPrincipal, Executable executable) Execute the givenExecutable, using the given principal as fallback if there is no other principal available.static <T> TPrincipalAccessor.executeWithFallbackPrincipal(Supplier<Principal> fallbackPrincipal, Callable<T> callable) Execute the givenCallable, using the given principal as fallback if there is no other principal available.static voidPrincipalAccessor.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 aPrincipalto be returned by this listener.