|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that must be implemented by all PAPs in an interceptor chain
A PAP is responsible for setting and retrieving policies to clients
(typically services or PEPs)
ServiceInterceptor
through the id parameter.
ServiceAuthorizationChain
,
ServicePIP
,
ServicePDP
Method Summary | |
java.util.Collection |
getPolicy(org.w3c.dom.Node query)
gets the current policy of the PDP. |
java.lang.String[] |
getPolicyNames()
gets the names (typically uris) of all the policies that the PDP supports. |
java.util.Collection |
setPolicy(org.w3c.dom.Node policy)
sets the current policy of the PDP. |
Methods inherited from interface org.glite.security.authz.ServiceInterceptor |
close, initialize |
Method Detail |
public java.lang.String[] getPolicyNames()
public java.util.Collection getPolicy(org.w3c.dom.Node query) throws InvalidPolicyException
query
- may be used to query for a subset of a policy
InvalidPolicyException
- if an invalid policy was detectedpublic java.util.Collection setPolicy(org.w3c.dom.Node policy) throws InvalidPolicyException
policy
- new policy
InvalidPolicyException
- if an invalid policy was passed in
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |