|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface that must be implemented by all PDPs in an interceptor chain
A PDP is responsible for making decisions whether a subject is
allowed to invoke a certain operation. The subject may contain public
or private credentials holding attributes collected and verified by PIPs.
A PDP is also responsible for managing a policy associated with a service.
The service is associated with the PDP in the initialize call in
Interceptor through the id parameter.
ServiceAuthorizationChain,
PIP| Method Summary | |
org.w3c.dom.Node |
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 |
boolean |
isPermitted(javax.security.auth.Subject peerSubject,
javax.xml.rpc.handler.MessageContext context,
javax.xml.namespace.QName operation)
this operation is called by the PDP Framework whenever the application needs to call secured operations. |
org.w3c.dom.Node |
setPolicy(org.w3c.dom.Node policy)
sets the current policy of the PDP |
| Methods inherited from interface org.globus.wsrf.security.authorization.Interceptor |
close, initialize |
| Method Detail |
public java.lang.String[] getPolicyNames()
public org.w3c.dom.Node getPolicy(org.w3c.dom.Node query)
throws InvalidPolicyException
query - may be used to query for a subset of a policy
InvalidPolicyException
public org.w3c.dom.Node setPolicy(org.w3c.dom.Node policy)
throws InvalidPolicyException
policy - new policy
InvalidPolicyException
public boolean isPermitted(javax.security.auth.Subject peerSubject,
javax.xml.rpc.handler.MessageContext context,
javax.xml.namespace.QName operation)
throws AuthorizationException
peerSubject - authenticated client subject with credentials
and attributescontext - holds properties of this XML message exchangeoperation - operation that the subject wants to invoke
AuthorizationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||