org.glite.security.authz
Class InterceptorConfig

java.lang.Object
  extended byorg.glite.security.authz.InterceptorConfig

public class InterceptorConfig
extends java.lang.Object

The InterceptorConfig class is used to hold configuration information about an interceptor in a configuration mechanism independent way. It is used by ServicePDPConfig.

See Also:
ChainConfig

Constructor Summary
InterceptorConfig(java.lang.String configName, ServiceInterceptor serviceInterceptor)
          Constructor.
InterceptorConfig(java.lang.String configName, java.lang.String configInterceptorClass)
          Constructor.
 
Method Summary
 ServiceInterceptor getInterceptor()
          gets the interceptor.
 java.lang.String getInterceptorClass()
          gets the interceptor class.
 java.lang.String getName()
          gets the interceptor name attached to this interceptor.
 boolean isLoaded()
          method to support eager loading of interceptors.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorConfig

public InterceptorConfig(java.lang.String configName,
                         ServiceInterceptor serviceInterceptor)
Constructor.

Parameters:
configName - the named scope of the interceptor used in configuration entries
serviceInterceptor - the class name of the interceptor

InterceptorConfig

public InterceptorConfig(java.lang.String configName,
                         java.lang.String configInterceptorClass)
Constructor.

Parameters:
configName - the named scope of the interceptor used in configuration entries
configInterceptorClass - the class name of the interceptor
Method Detail

getInterceptorClass

public java.lang.String getInterceptorClass()
gets the interceptor class.

Returns:
the class name of the interceptor

getInterceptor

public ServiceInterceptor getInterceptor()
gets the interceptor.

Returns:
the interceptor

getName

public java.lang.String getName()
gets the interceptor name attached to this interceptor.

Returns:
the named scope of the interceptor used in configuration entries

isLoaded

public boolean isLoaded()
method to support eager loading of interceptors.

Returns:
whether the interceptor class has been loaded