|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.policy.ProxyPolicyEvaluatorFactory
Factory class used to get ProxyPolicyEvaluator instances. This is a singleton.
Method Summary | |
static ProxyPolicyEvaluatorFactory |
getInstance()
Gets an instance of ProxyPolicyEvaluatorFactory. |
ProxyPolicyEvaluator |
getProxyPolicyEvaluator(SSOToken token,
java.lang.String serviceType)
Gets an instance of ProxyPolicyEvaluator . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ProxyPolicyEvaluatorFactory getInstance() throws PolicyException
PolicyException
- any policy exception coming from policy frame
workpublic ProxyPolicyEvaluator getProxyPolicyEvaluator(SSOToken token, java.lang.String serviceType) throws NoPermissionException, NameNotFoundException, PolicyException, SSOException
ProxyPolicyEvaluator
.
Only privileged users can get ProxyPolicyEvaluator
.
Only top level admin, org admin or policy admin can get
ProxyPolicyEvaluator
.
token
- sso token used to get the proxy policy evaluatorserviceType
- service type for which get the proxy policy
evaluator
SSOException
- if the token is invalid
NoPermissionException
- if the token does not have privileges
to get proxy policy evaluator
NameNotFoundException
- if the serviceType is not found in
registered service types
PolicyException
- any policy exception coming from policy frame
work
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |