org.glite.security.voms.service
Class SecurityContextHandler
java.lang.Object
org.apache.axis.handlers.BasicHandler
org.glite.security.voms.service.SecurityContextHandler
- All Implemented Interfaces:
- org.apache.axis.Handler, java.io.Serializable
- public class SecurityContextHandler
- extends org.apache.axis.handlers.BasicHandler
This class is an AXIS handler that can be
put in a request flow in front of an actual SOAP endpoint
that it initializes the SecurityContext.
Currently, only the case of SOAP over HTTPS with client authentication
is supported.
Configuration (Tomcat)
The handler is installed by first defining a handler
in the
.wsdd
file:
<handler name="initSC"
type="java:org.glite.security.voms.service.SecurityContextHandler">
</handler>
A request flow also needs to be defined for the servlets in question:
<service name="TestService" ...>
<requestFlow>
<handler type="initSC"/>
</requestFlow>
...
</service>
- Author:
- mulmo
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
Method Summary |
void |
invoke(org.apache.axis.MessageContext mc)
Initializes the SecurityContext from a MessageContext . |
Methods inherited from class org.apache.axis.handlers.BasicHandler |
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, 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 |
log
protected static org.apache.log4j.Logger log
SecurityContextHandler
public SecurityContextHandler()
invoke
public void invoke(org.apache.axis.MessageContext mc)
throws org.apache.axis.AxisFault
- Initializes the SecurityContext from a
MessageContext
.
- Throws:
org.apache.axis.AxisFault
- See Also:
Handler.invoke(MessageContext)