public class ScpNeoPrincipalFacade extends DefaultPrincipalFacade implements WithRuntimeDependencies
Constructor and Description |
---|
ScpNeoPrincipalFacade() |
Modifier and Type | Method and Description |
---|---|
void |
assertRuntimeDependenciesExist()
Asserts that required runtime dependencies are available on the class path.
|
io.vavr.control.Try<Principal> |
tryGetCurrentPrincipal()
Returns a
Try of the current Principal . |
public void assertRuntimeDependenciesExist() throws DependencyNotFoundException
assertRuntimeDependenciesExist
in interface WithRuntimeDependencies
DependencyNotFoundException
- If a required runtime dependency is not available.@Nonnull public io.vavr.control.Try<Principal> tryGetCurrentPrincipal()
DefaultPrincipalFacade
Try
of the current Principal
.tryGetCurrentPrincipal
in interface PrincipalFacade
tryGetCurrentPrincipal
in class DefaultPrincipalFacade
Try
of the current Principal
.Copyright © 2019 SAP SE. All rights reserved.