Package com.sun.identity.policy
Class ProxyPolicyEvaluator
- java.lang.Object
-
- com.sun.identity.policy.ProxyPolicyEvaluator
-
@SupportedAll @Deprecated public class ProxyPolicyEvaluator extends Object
Deprecated.Class that lets a priviliged user to compute policy results for another user. Only privileged users can getProxyPolicyEvaluator
- only top level administrator, realm level policy administrator, realm administrator or realm policy administrator can getProxyPolicyEvaluator
. Top level administrator can compute policy results for any user. Realm administrator or policy administrator can compute policy results only for users who are members of the realm (including sub realm) that they manage. If they try to compute policys result for any other user, they would get aPolicyException
. This class can be used only within the web container running policy server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PolicyDecision
getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env)
Deprecated.Gets policy decision for a resource, skipping subject evaluation.
-
-
-
Method Detail
-
getPolicyDecisionIgnoreSubjects
public PolicyDecision getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env) throws PolicyException, SSOException
Deprecated.Gets policy decision for a resource, skipping subject evaluation. Conditions would be evaluated and would include applicable advices in policy decisions. Hence, you could get details such asAuthLevel
,AuthScheme
that would be required to access the resource.- Parameters:
resourceName
- name of the resource for which to compute policy decisionactionNames
- names of the actions the user is trying to perform on the resourceenv
- run time environment parameters- Returns:
- the policy decision for the principal for the given resource
- Throws:
PolicyException
- exception form policy frameworkSSOException
- if single sign on token is invalid
-
-