Class IdentityUtils

java.lang.Object
com.sap.cds.services.utils.IdentityUtils

public class IdentityUtils extends Object
  • Constructor Details

    • IdentityUtils

      public IdentityUtils(CdsRuntime runtime)
  • Method Details

    • getXsuaaServiceBindings

      public List<com.sap.cloud.environment.servicebinding.api.ServiceBinding> 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

      public List<com.sap.cloud.environment.servicebinding.api.ServiceBinding> 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

      public IdentityUtils.AuthenticationType configuredAuthenticationType()
      Returns:
      The authentication type configured by the application