You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Nandana Mihindukulasooriya <na...@gmail.com> on 2008/01/14 04:26:29 UTC

Changing the default axis2.xml when engaging Rampart

Hi Folks,
         If you are engaging  Rampart  SNAPSHOT  in  Axis2, you will have to
do a
small modification to axis2.xml. As Rampart now registers handlers in the
fault
flows too, you will have to add the security phase in the out fault flow by
changing
the axis2.xml. You will have to add the security phase just after in
MessageOut
phase in <phaseOrder type="OutFaultFlow">.

    <phaseOrder type="OutFaultFlow">
        <!--      user can add his own phases to this area  -->
        <phase name="OperationOutFaultPhase"/>
        <phase name="RMPhase"/>
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        *<phase name="Security"/>*
    </phaseOrder>

      You will only have to go through this hassle until Axis2 gets the
dynamic phase support.
After that, Rampart module it self will be able to register the required
phases and handlers.
You can find more about in this thread [1] in Axis2 dev list.
      Added these details to README.txt in the source distribution.

Thanks,
Nandana

[1] - http://marc.info/?t=119746279500013&r=1&w=2