Class DefaultPrincipalFacade
java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.principal.DefaultPrincipalFacade
- All Implemented Interfaces:
PrincipalFacade
- Direct Known Subclasses:
DwcPrincipalFacade
Default implementation of
PrincipalFacade
encapsulating the logic to access Principal
information.-
Constructor Details
-
DefaultPrincipalFacade
public DefaultPrincipalFacade()Creates a new instance of this facade.
-
-
Method Details
-
tryGetCurrentPrincipal
Description copied from interface:PrincipalFacade
Returns aTry
of the currentPrincipal
.- Specified by:
tryGetCurrentPrincipal
in interfacePrincipalFacade
- Returns:
- A
Try
of the currentPrincipal
.
-