public class ScpNeoPrincipalFacade extends Object implements PrincipalFacade
Principal
information on SAP Cloud Platform Neo.Constructor and Description |
---|
ScpNeoPrincipalFacade() |
Modifier and Type | Method and Description |
---|---|
Principal |
getCurrentPrincipal()
Gets the currently authenticated Principal.
|
@Nonnull public Principal getCurrentPrincipal() throws PrincipalAccessException
getCurrentPrincipal
in interface PrincipalFacade
Principal
.PrincipalAccessException
- if an error occurred while retrieving resources necessary to construct a Principal
.Copyright © 2019 SAP SE. All rights reserved.