org.backsource.axis
Class UserPasswordAutenticationHandler

java.lang.Object
  extended byorg.apache.axis.handlers.BasicHandler
      extended byorg.backsource.axis.UserPasswordAutenticationHandler
All Implemented Interfaces:
org.apache.axis.Handler, java.io.Serializable

public class UserPasswordAutenticationHandler
extends org.apache.axis.handlers.BasicHandler

A truly simple handler that combines Authentication and Authorization into one handle that contains one user/password pair.

Use this to set up services that are really only to be used by one sender.

  <handler type="java:org.backsource.axis.UserPasswordAutenticationHandler">
    <parameter name="allowedUser" value="VV"/>
    <parameter name="allowedPassword" value="VV1"/>
  </handler>

The params may also be specifyed at service level, and will then owerride the ones set at handler level.

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman
See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
 
Constructor Summary
UserPasswordAutenticationHandler()
           
 
Method Summary
 void invoke(org.apache.axis.MessageContext msgContext)
           
 
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
 

Field Detail

log

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

UserPasswordAutenticationHandler

public UserPasswordAutenticationHandler()
Method Detail

invoke

public void invoke(org.apache.axis.MessageContext msgContext)
            throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault


Copyright © 2003-2004 Backsource. All Rights Reserved.