Package com.sun.identity.policy
Class ProxyPolicyEvaluatorFactory
- java.lang.Object
-
- com.sun.identity.policy.ProxyPolicyEvaluatorFactory
-
@SupportedAll @Deprecated public class ProxyPolicyEvaluatorFactory extends Object
Deprecated.Factory class used to get ProxyPolicyEvaluator instances. This is a singleton.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProxyPolicyEvaluatorFactory
getInstance()
Deprecated.Gets an instance of ProxyPolicyEvaluatorFactory.ProxyPolicyEvaluator
getProxyPolicyEvaluator(SSOToken token, String serviceType)
Deprecated.Gets an instance ofProxyPolicyEvaluator
.
-
-
-
Method Detail
-
getInstance
public static ProxyPolicyEvaluatorFactory getInstance() throws PolicyException
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
-
-