Hi ruchith, how can i configure only one service to use rampart? and how would i add security headers for a jsp client? is there any more information you can provide on adding security headers. any help would be greatly appreciated as i am new to this, thanks alot!


From:  Ruchith Fernando <[EMAIL PROTECTED]>
Reply-To:  [email protected]
To:  [email protected]
Subject:  Re: rampart sample 05 encryption
Date:  Mon, 03 Sep 2007 01:09:25 +0530
>Since you have the configuration in the axis2.xml file at the server if
>you engage rampart globally all service will require incoming messages
>to be secured.
>
>How are you adding the security headers to the request generated by the
>php client? Maybe this[1],2[] can help.
>
>Thanks,
>Ruchith
>1. http://dist.wso2.org/products/wsf/php/1.0.0/
>2. http://www.wso2.org/library/2570
>
>
>shams jawaid wrote:
> > Hi there,
> >
> > also, im tyring to access the service through a php client. how much of
> > a difference will it make if i globally engage the module or not?
> >
> >     ------------------------------------------------------------------------
> >     From:  /Ruchith Fernando <[EMAIL PROTECTED]>/
> >     Reply-To:  /[email protected]/
> >     To:  /[email protected]/
> >     Subject:  /Re: rampart sample 05 encryption/
> >     Date:  /Mon, 03 Sep 2007 00:42:02 +0530/
> >     >Hi,
> >     >
> >     >Seems like you have globally engaged and configured rampart at the
> >     >service. Now to be able to invoke this service you will have configure
> >     >the client too.
> >     >
> >     >Please see here for an example :
> >     >
> >     >http://www.wso2.org/library/255
> >     >
> >     >Thanks,
> >     >Ruchith
> >     >
> >     >shams jawaid wrote:
> >     > > Hi,
> >     > >
> >     > > i am trying to implement the encryption example 05  in a webservice
> >     > > deployed in axis2. i am using rampart v 1.2. i have installed
> >     rampart
> >     > > and i can see it as the available modules in the axis2 admin page.
> >     > > however, whenever i initialise my web service client, i get an
> >     error:
> >     > >
> >     > > WSDoAllReceiver: Incoming message does not contain required
> >     Security header
> >     > >
> >     > > in my apache-tomcat-5.5.23\webapps\axis2\WEB-INF\conf -
> >     axis2.xml file i
> >     > > have put this in:
> >     > >
> >     > >
> >     > > <phase name="Security">
> >     > >
> >     > > <module ref="rampart" />
> >     > >
> >     > > <parameter name="OutflowSecurity">
> >     > >
> >     > > <action>
> >     > >
> >     > > <items>Encrypt</items>
> >     > >
> >     > > <encryptionUser>service</encryptionUser>
> >     > >
> >     > > <encryptionPropFile>client.properties</encryptionPropFile>
> >     > >
> >     > > </action>
> >     > >
> >     > > </parameter>
> >     > >
> >     > > <parameter name="InflowSecurity">
> >     > >
> >     > > <action>
> >     > >
> >     > > <items>Encrypt</items>
> >     > >
> >     > >
> >     <passwordCallbackClass>axis2.adb.sync.rampart.callbackhandler.PWCBHandler</passwordCallbackClass>
> >     > >
> >     > > <decryptionPropFile>client.properties</decryptionPropFile>
> >     > >
> >     > > </action>
> >     > >
> >     > > </parameter>
> >     > >
> >     > > </phase>
> >     > >
> >     > > and this is in my services.xml file:
> >     > >
> >     > > <parameter name="InflowSecurity">
> >     > >
> >     > > <action>
> >     > >
> >     > > <items>Encrypt</items>
> >     > >
> >     > > <passwordCallbackClass>test.PWCBHandler</passwordCallbackClass>
> >     > >
> >     > > <decryptionPropFile>service.properties</decryptionPropFile>
> >     > >
> >     > > </action>
> >     > >
> >     > > </parameter>
> >     > >
> >     > > <parameter name="OutflowSecurity">
> >     > >
> >     > > <action>
> >     > >
> >     > > <items>Encrypt</items>
> >     > >
> >     > > <encryptionUser>client</encryptionUser>
> >     > >
> >     > > <encryptionPropFile>service.properties</encryptionPropFile>
> >     > >
> >     > > </action>
> >     > >
> >     > > </parameter>
> >     > >
> >     > > <parameter name="ServiceClass">
> >     > >
> >     > > test.Random
> >     > >
> >     > > </parameter>
> >     > >
> >     > > </service>
> >     > >
> >     > > if anyone can help solve the "WSDoAllReceiver: Incoming message
> >     does not
> >     > > contain required Security header" error it would be greatly
> >     appreciated,
> >     > >
> >     > > thanks
> >     > >
> >     > >
> >     > >
> >     ------------------------------------------------------------------------
> >     > > The next generation of Hotmail is here - Windows Live Hotmail
> >     > > <http://g.msn.com/8HMAENUK/2749??PS=47575>
> >     >
> >     >
> >
> >     ><< signature.asc >>
> >
> >
> > ------------------------------------------------------------------------
> > The next generation of Hotmail is here - Windows Live Hotmail
> > <http://g.msn.com/8HMAENUK/2752??PS=47575>
>
>

><< signature.asc >>



Is that you on the pitch?

Reply via email to