org.jboss.webservice.handler
Class ClientLoginHandler

java.lang.Object
  extended byorg.jboss.axis.handlers.BasicHandler (src) 
      extended byorg.jboss.webservice.handler.ClientLoginHandler
All Implemented Interfaces:
Handler (src)

public class ClientLoginHandler
extends BasicHandler (src)

An Axis style handler that adds username/password as SOAP header elements. <soapenv:Header> <jbws:username actor="http://webservice.jboss.com/ws4ee/login" xmlns:jbws="http://webservice.jboss.com/ws4ee">kermit</jbws:username> <jbws:password actor="http://webservice.jboss.com/ws4ee/login" xmlns:jbws="http://webservice.jboss.com/ws4ee">thefrog</jbws:password> </soapenv:Header>

Since:
27-April-2004

Field Summary
 
Fields inherited from class org.jboss.axis.handlers.BasicHandler (src)
makeLockable, name, options
 
Constructor Summary
ClientLoginHandler()
           
 
Method Summary
 void invoke(MessageContext (src)  msgContext)
          Add the principal/credential from the MessageContext, if not given fall back to the SecurityAssociation.
 
Methods inherited from class org.jboss.axis.handlers.BasicHandler (src)
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
 

Constructor Detail

ClientLoginHandler

public ClientLoginHandler()
Method Detail

invoke

public void invoke(MessageContext (src)  msgContext)
            throws AxisFault (src) 
Add the principal/credential from the MessageContext, if not given fall back to the SecurityAssociation.

Specified by:
invoke in interface Handler (src)
Specified by:
invoke in class BasicHandler (src)
Throws:
AxisFault (src)