|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.authz.SimpleChainConfig
Simple ChainConfig implementation allowing configuration properties to be set at runtime.
ChainConfig
Constructor Summary | |
SimpleChainConfig(InterceptorConfig[] newInterceptors)
Constructor. |
Method Summary | |
InterceptorConfig[] |
getInterceptors()
gets the interceptors' class names to be loaded, and their names (configuration scopes). |
java.lang.Object |
getProperty(java.lang.String name,
java.lang.String property)
gets a property based on the scoped name of the interceptor. |
void |
setProperty(java.lang.String name,
java.lang.String property,
java.lang.Object value)
sets a property based on the scoped name of the interceptor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleChainConfig(InterceptorConfig[] newInterceptors)
newInterceptors
- new interceptor configurationMethod Detail |
public InterceptorConfig[] getInterceptors() throws ConfigException
getInterceptors
in interface ChainConfig
ConfigException
- if no interceptors were foundpublic java.lang.Object getProperty(java.lang.String name, java.lang.String property)
getProperty
in interface ChainConfig
name
- scoped name of interceptorproperty
- name of property to get
public void setProperty(java.lang.String name, java.lang.String property, java.lang.Object value)
setProperty
in interface ChainConfig
name
- scoped name of interceptorproperty
- name of property to setvalue
- value of property to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |