org.jboss.axis.handlers
Class SimpleAuthenticationHandler

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

public class SimpleAuthenticationHandler
extends BasicHandler (src)

Just a simple Authentication Handler to see if the user specified in the Bag in the MessageContext is allowed to continue.

Just look for 'user' and 'password' in a file called 'users.lst'.

Replace this with your 'real' authenication code.


Field Summary
 
Fields inherited from class org.jboss.axis.handlers.BasicHandler (src)
makeLockable, name, options
 
Constructor Summary
SimpleAuthenticationHandler()
           
 
Method Summary
 void invoke(MessageContext (src)  msgContext)
          Authenticate the user and password from the msgContext
 
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

SimpleAuthenticationHandler

public SimpleAuthenticationHandler()
Method Detail

invoke

public void invoke(MessageContext (src)  msgContext)
            throws AxisFault (src) 
Authenticate the user and password from the msgContext

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