Package com.sun.identity.policy
Class ProxyPolicyEvaluatorFactory
java.lang.Object
com.sun.identity.policy.ProxyPolicyEvaluatorFactory
Deprecated.
Factory class used to get ProxyPolicyEvaluator instances.
This is a singleton.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyPolicyEvaluatorFactory
Deprecated.Gets an instance of ProxyPolicyEvaluatorFactory.getProxyPolicyEvaluator
(SSOToken token, String serviceType) Deprecated.Gets an instance ofProxyPolicyEvaluator
.
-
Method Details
-
getInstance
Deprecated.Gets an instance of ProxyPolicyEvaluatorFactory.- Returns:
- proxy policy evaluator factory
- Throws:
PolicyException
- any policy exception coming from policy frame work
-
getProxyPolicyEvaluator
public ProxyPolicyEvaluator getProxyPolicyEvaluator(SSOToken token, String serviceType) throws NoPermissionException, NameNotFoundException, PolicyException, SSOException Deprecated.Gets an instance ofProxyPolicyEvaluator
. Only privileged users can getProxyPolicyEvaluator
. Only top level admin, realm admin or policy admin can getProxyPolicyEvaluator
.- Parameters:
token
- sso token used to get the proxy policy evaluatorserviceType
- service type for which get the proxy policy evaluator- Returns:
- proxy policy evaluator
- Throws:
SSOException
- if the token is invalidNoPermissionException
- if the token does not have privileges to get proxy policy evaluatorNameNotFoundException
- if the serviceType is not found in registered service typesPolicyException
- any policy exception coming from policy frame work
-
Evaluator
instead asEntitlement
has replacedPolicy
.