@Deprecated public class ProxyPolicyEvaluator extends Object
ProxyPolicyEvaluator
- only top level administrator, realm level policy administrator,
realm administrator or realm policy administrator can get
ProxyPolicyEvaluator
. 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 a PolicyException
.
This class can be used only within the web container running policy server.Modifier and Type | Method and Description |
---|---|
PolicyDecision |
getPolicyDecisionIgnoreSubjects(String resourceName,
Set actionNames,
Map env)
Deprecated.
Gets policy decision for a resource, skipping subject evaluation.
|
public PolicyDecision getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env) throws PolicyException, SSOException
AuthLevel
, AuthScheme
that would be required to
access the resource.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 parametersPolicyException
- exception form policy frameworkSSOException
- if single sign on token is invalidCopyright © 2010-2018, ForgeRock All Rights Reserved.