com.sun.identity.policy
Class ProxyPolicyEvaluatorFactory
java.lang.Object
|
+--com.sun.identity.policy.ProxyPolicyEvaluatorFactory
- public class ProxyPolicyEvaluatorFactory
- extends java.lang.Object
Factory class used to get ProxyPolicyEvaluator instances.
This is a singleton.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ProxyPolicyEvaluatorFactory getInstance()
throws PolicyException
- 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,
java.lang.String serviceType)
throws NoPermissionException,
NameNotFoundException,
PolicyException,
SSOException
- Gets an instance of
ProxyPolicyEvaluator
.
Only privileged users can get ProxyPolicyEvaluator
.
Only top level admin, org admin or policy admin can get
ProxyPolicyEvaluator
.
- 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
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.