org.globus.wsrf.security.authorization
Interface Interceptor

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
PDP, PIP
All Known Implementing Classes:
GridMapAuthorization, HostAuthorization, IdentityAuthorization, LocalConfigPDP, NoAuthorization, SAMLAuthorizationCallout, SelfAuthorization, ServiceAuthorizationChain, UsernameAuthorization

public interface Interceptor
extends java.io.Serializable

Generic interface to be implemented by all interceptors (PIPs and PDPs) in a chain


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
 void initialize(PDPConfig 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.
 

Method Detail

initialize

public void initialize(PDPConfig config,
                       java.lang.String name,
                       java.lang.String id)
                throws InitializeException
Initializes the interceptor with configuration information that are valid up until the point when close is called.

Parameters:
config - holding interceptor specific configuration values, that may be obtained using the name paramter
name - the name that should be used to access all the interceptor local configuration
id - 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
Throws:
InitializeException

close

public void close()
           throws CloseException
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

Throws:
CloseException