Package com.sap.cds.services.utils
Class XsuaaUtils
java.lang.Object
com.sap.cds.services.utils.XsuaaUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThere are three different kinds of CP Security authentication. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XsuaaUtils
-
-
Method Details
-
getXsuaaServiceBindings
- Returns:
- All found XSUAA bindings. In case a specific service binding is chosen via cds.security.xsuaa.binding, the list contains only this binding if available.
-
getIasServiceBindings
- Returns:
- All found identity service (IAS) bindings. In case a specific service binding is chosen via cds.security.identity.binding, * the list contains only this binding if available.
-
configuredAuthenticationType
- Returns:
- The authentication type configured by the application
-
xsuaaAuthenticationConfigured
public boolean xsuaaAuthenticationConfigured()- Returns:
trueif authentication should be handled via 'cds-feature-xsuaa'
-
identityAuthenticationConfigured
public boolean identityAuthenticationConfigured()- Returns:
trueif authentication should be handled via 'cds-feature-identity'
-