org.edg.security.client
Class RoleHandler

java.lang.Object
  |
  +--org.apache.axis.handlers.BasicHandler
        |
        +--org.edg.security.client.RoleHandler
All Implemented Interfaces:
org.apache.axis.Handler, java.io.Serializable

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

Version:
$Id: RoleHandler.java,v 1.2 2003/09/05 09:59:41 jhahkala Exp $
Author:
James Casey
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
log, makeLockable, name, options
 
Constructor Summary
RoleHandler()
           
 
Method Summary
 void invoke(org.apache.axis.MessageContext msgContext)
          Sets and adds the role and policy SOAP headers to the message to indicate your choice for the Authorization manager.
 void undo(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
 

Constructor Detail

RoleHandler

public RoleHandler()
Method Detail

invoke

public void invoke(org.apache.axis.MessageContext msgContext)
            throws org.apache.axis.AxisFault
Sets and adds the role and policy SOAP headers to the message to indicate your choice for the Authorization manager. These are set by the edg-security.role and edg-security.policy system properties respectively. No header will be added if its associated proporty is a) not set at all, b) set to the string 'null', or c) set to the empty string "". In this case the server side Authorization manager will use its own default.

Specified by:
invoke in interface org.apache.axis.Handler
Specified by:
invoke in class org.apache.axis.handlers.BasicHandler
org.apache.axis.AxisFault

undo

public void undo(org.apache.axis.MessageContext msgContext)