com.sap.cloud.security.ams.api.AttributesProvider Maven / Gradle / Ivy
/************************************************************************
* © 2019-2023 SAP SE or an SAP affiliate company. All rights reserved. *
************************************************************************/
package com.sap.cloud.security.ams.api;
import com.sap.cloud.security.ams.dcl.client.pdp.Attributes;
/**
* Predefines {@link com.sap.cloud.security.ams.dcl.client.pdp.Attributes}
* instance.
*/
public interface AttributesProvider {
/**
* Returns the {@link com.sap.cloud.security.ams.dcl.client.pdp.Attributes} that
* is predefined with
* {@link com.sap.cloud.security.ams.dcl.client.pdp.Attributes#setPrincipalToPolicies(String...)}
* mapping or policies and other user attributes that are required for the
* {@code PolicyDecisionPoint.allow()} method.
*
* @return the list of user to policy mappings, e.g. tenant id and user id.
*/
Attributes getAttributes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy