|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.identity.entitlement.proxy.PEPProxy
public class PEPProxy
| Constructor Summary | |
|---|---|
PEPProxy(PEPProxyConfig config)
Creating the PDP Proxy instance and initializing it |
|
| Method Summary | |
|---|---|
void |
clear()
|
List<String> |
getActionableChildResourcesForAlias(String alias,
String parentResource,
String action)
|
List<String> |
getActionableChildResourcesForAlias(String alias,
String parentResource,
String action,
String appId)
|
List<String> |
getActionableResourcesForAlias(String alias)
|
List<String> |
getActionableResourcesForAlias(String alias,
String appId)
|
List<String> |
getActionsForResource(String alias,
String resources)
|
List<String> |
getActionsForResource(String alias,
String resources,
String appId)
|
String |
getDecision(Attribute[] attributes)
This method is used to get the Entitlement decision for the set of Attributes using The Default AppID |
String |
getDecision(Attribute[] attributes,
String appId)
This method is used to get the Entitlement decision for the set of Attributes using The Provided AppID |
String |
getDecision(String subject,
String resource,
String action,
String environment)
This method is used to get the Entitlement decision for the provided subject,resource,action and environment using the default appID of the PDP defaultProxy |
String |
getDecision(String subject,
String resource,
String action,
String environment,
String appId)
This method is used to get the Entitlement decision for the provided subject,resource,action and environment using the provided appID of the PDP defaultProxy |
List<String> |
getResourcesForAlias(String alias)
|
List<String> |
getResourcesForAlias(String alias,
String appId)
|
boolean |
subjectCanActOnResource(String subjectType,
String alias,
String actionId,
String resourceId,
Attribute[] attributes,
String domainId)
|
boolean |
subjectCanActOnResource(String subjectType,
String alias,
String actionId,
String resourceId,
Attribute[] attributes,
String domainId,
String appId)
|
boolean |
subjectCanActOnResource(String subjectType,
String alias,
String actionId,
String resourceId,
String domainId)
|
boolean |
subjectCanActOnResource(String subjectType,
String alias,
String actionId,
String resourceId,
String domainId,
String appId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PEPProxy(PEPProxyConfig config)
throws EntitlementProxyException
Exception
EntitlementProxyException| Method Detail |
|---|
public String getDecision(Attribute[] attributes)
throws Exception
attributes - XACML 3.0 Attribute Set
Exception
public String getDecision(Attribute[] attributes,
String appId)
throws Exception
attributes - XACML 3.0 Attribute Set
Exception
public String getDecision(String subject,
String resource,
String action,
String environment)
throws Exception
subject - XACML 2.0 subjectresource - XACML 2.0 resourceaction - XACML 2.0 actionenvironment - XACML 2.0 environments
Exception
public String getDecision(String subject,
String resource,
String action,
String environment,
String appId)
throws Exception
subject - XACML 2.0 subjectresource - XACML 2.0 resourceaction - XACML 2.0 actionenvironment - XACML 2.0 environmentsappId - specific appID in the PDP Proxy, there can be many PDPs configured for appID. Each App can have distinct PDPs
Exception
public boolean subjectCanActOnResource(String subjectType,
String alias,
String actionId,
String resourceId,
String domainId)
throws Exception
Exception
public boolean subjectCanActOnResource(String subjectType,
String alias,
String actionId,
String resourceId,
String domainId,
String appId)
throws Exception
Exception
public boolean subjectCanActOnResource(String subjectType,
String alias,
String actionId,
String resourceId,
Attribute[] attributes,
String domainId)
throws Exception
Exception
public boolean subjectCanActOnResource(String subjectType,
String alias,
String actionId,
String resourceId,
Attribute[] attributes,
String domainId,
String appId)
throws Exception
Exception
public List<String> getActionableChildResourcesForAlias(String alias,
String parentResource,
String action)
throws Exception
Exception
public List<String> getActionableChildResourcesForAlias(String alias,
String parentResource,
String action,
String appId)
throws Exception
Exception
public List<String> getResourcesForAlias(String alias)
throws Exception
Exception
public List<String> getResourcesForAlias(String alias,
String appId)
throws Exception
Exception
public List<String> getActionableResourcesForAlias(String alias)
throws Exception
Exception
public List<String> getActionableResourcesForAlias(String alias,
String appId)
throws Exception
Exception
public List<String> getActionsForResource(String alias,
String resources)
throws Exception
Exception
public List<String> getActionsForResource(String alias,
String resources,
String appId)
throws Exception
Exceptionpublic void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||