|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.authz.pdp.VomsServicePDP
Field Summary | |
static java.lang.String |
ATTR_SECURITY_CONFIG_FILE
Property used to set grid map file name. |
static java.lang.String[] |
CONFIG_LOCATIONS
|
static java.lang.String |
VOMS_PDP_POLICY
Property used to set in-memory grid map. |
Constructor Summary | |
VomsServicePDP()
|
Method Summary | |
void |
close()
this method is called by the PDP framework to indicate that the interceptor now should remove all state that was allocated in the initialize call. |
org.w3c.dom.Node |
getPolicy(org.w3c.dom.Node node)
|
java.lang.String[] |
getPolicyNames()
|
void |
initialize(ChainConfig config,
java.lang.String name,
java.lang.String id)
initializes the interceptor with configuration information that are valid up until the point when close is called. |
boolean |
isPermitted(javax.security.auth.Subject peer,
javax.xml.rpc.handler.MessageContext msgCtx,
javax.xml.namespace.QName op)
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 node)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String[] CONFIG_LOCATIONS
public static final java.lang.String VOMS_PDP_POLICY
public static final java.lang.String ATTR_SECURITY_CONFIG_FILE
Constructor Detail |
public VomsServicePDP()
Method Detail |
public java.lang.String[] getPolicyNames()
public org.w3c.dom.Node getPolicy(org.w3c.dom.Node node) throws InvalidPolicyException
InvalidPolicyException
public org.w3c.dom.Node setPolicy(org.w3c.dom.Node node) throws InvalidPolicyException
InvalidPolicyException
public boolean isPermitted(javax.security.auth.Subject peer, javax.xml.rpc.handler.MessageContext msgCtx, javax.xml.namespace.QName op) throws AuthorizationException
isPermitted
in interface ServicePDP
peer
- authenticated client subject with credentials
and attributesmsgCtx
- holds properties of this XML message exchangeop
- operation that the subject wants to invoke
AuthorizationException
- if an exception occured during evaluationpublic void initialize(ChainConfig config, java.lang.String name, java.lang.String id) throws InitializeException
initialize
in interface ServiceInterceptor
config
- holding interceptor specific configuration values, that
may be obtained using the name paramtername
- the name that should be used to access all the interceptor
local configurationid
- the id in common for all interceptors in a chain (it is valid
up until close is called)
if close is not called the interceptor may assume that the id
still exists after a process restart
InitializeException
- if vomspdp was not foundpublic void close() throws CloseException
ServiceInterceptor
close
in interface ServiceInterceptor
CloseException
- if an error occured while closing this
interceptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |