org.globus.wsrf.impl.security.authentication.secureconv
Class SecContextHandler

java.lang.Object
  extended byjavax.xml.rpc.handler.GenericHandler
      extended byorg.globus.wsrf.impl.security.authentication.secureconv.SecContextHandler
All Implemented Interfaces:
javax.xml.rpc.handler.Handler

public class SecContextHandler
extends javax.xml.rpc.handler.GenericHandler

A separate instance of the handler is created per service Stub instance (e.g. NotificationSourcePortType, etc.) If multiple method invocations are made on the same Stub instance the secure context will be reused. The method invocations CANNOT be made from multiple threads using the same Stub instance. Separate Stub instances must be used.


Field Summary
private  Authenticator authInfo
           
private  boolean auto
           
private  java.lang.Integer lastContextLifetime
           
private  java.lang.String lastMode
           
private  java.lang.Thread lastThread
           
private static SecureConversationServiceAddressingLocator locator
           
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
SecContextHandler()
           
 
Method Summary
 javax.xml.namespace.QName[] getHeaders()
           
 boolean handleRequest(javax.xml.rpc.handler.MessageContext msgContext)
           
 void init(javax.xml.rpc.handler.HandlerInfo config)
           
 
Methods inherited from class javax.xml.rpc.handler.GenericHandler
destroy, handleFault, handleResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log

authInfo

private Authenticator authInfo

lastMode

private java.lang.String lastMode

lastContextLifetime

private java.lang.Integer lastContextLifetime

auto

private boolean auto

lastThread

private java.lang.Thread lastThread

locator

private static SecureConversationServiceAddressingLocator locator
Constructor Detail

SecContextHandler

public SecContextHandler()
Method Detail

handleRequest

public boolean handleRequest(javax.xml.rpc.handler.MessageContext msgContext)

init

public void init(javax.xml.rpc.handler.HandlerInfo config)

getHeaders

public javax.xml.namespace.QName[] getHeaders()