uk.ac.soton.itinnovation.grid.client.ogsadai
Class OgsaDaiRequestHandler

java.lang.Object
  extended by org.apache.axis.handlers.BasicHandler
      extended by uk.ac.soton.itinnovation.grid.client.ogsadai.OgsaDaiRequestHandler
All Implemented Interfaces:
Serializable, Handler

public class OgsaDaiRequestHandler
extends BasicHandler

AXIS message handler for the GRIA OGSA-DAI service. This should be placed on the AXIS request chain before any wss4j handlers. It modifies the headers of the message - removing the resourceID from the URL and instead placing it in a SOAP header that is read by PBAC. If the last segment of the URL does not start with the string "DAI", this handler does not modify the message. This ensures that only perform requests are modified. It must be initialised with the setIdentityProvider method.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
 
Constructor Summary
OgsaDaiRequestHandler()
           
 
Method Summary
 void init()
           
 void invoke(MessageContext mc)
           
static void setIdentityProvider(IdentityProvider i)
           
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OgsaDaiRequestHandler

public OgsaDaiRequestHandler()
Method Detail

init

public void init()
Specified by:
init in interface Handler
Overrides:
init in class BasicHandler

setIdentityProvider

public static void setIdentityProvider(IdentityProvider i)

invoke

public void invoke(MessageContext mc)
            throws AxisFault
Throws:
AxisFault


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.