Hi, I forgot to mention that the exception I hit when I was loading a saml.properties file with full absolute path instead of the default location in the wss4j library, is the following,
java.lang.RuntimeException: SAMLIssuerFactory: Cannot load properties: c:\saml\saml.properties Anyone knows why? Many thanks, Jake >-----Original Message----- >From: Jake Wu [mailto:[EMAIL PROTECTED] >Sent: 06 September 2005 14:36 >To: [EMAIL PROTECTED] >Cc: [email protected]; [email protected] >Subject: RE: WSS4J and SAML > >Dear all, > >I was changing my service side wsdd file and client side wsdd file, in >order to add SAML assertion as tokens into >WSDoAllSender/WSDoAllReceiver >handlers. > >The samples have given things like the following, > ><handler type="java:org.apache.ws.axis.security.WSDoAllSender" > > <parameter name="action" value="Timestamp SAMLTokenUnsigned"/> > <parameter name="samlPropFile" value="saml.properties"/> </handler> > >I was just wondering if I can change the value of samlPropFile to some >other locations with full paths such as, > ><handler type="java:org.apache.ws.axis.security.WSDoAllSender" > > <parameter name="action" value="Timestamp SAMLTokenUnsigned"/> > <parameter name="samlPropFile" >value="c:\saml\saml.properties"/> </handler> > >I have tried, but with no success. Can you tell me if this is feasible >or not? > >Many thanks >Jake > >>-----Original Message----- >>From: Davanum Srinivas [mailto:[EMAIL PROTECTED] >>Sent: 24 August 2005 03:46 >>To: Jake Wu >>Cc: [email protected]; [email protected] >>Subject: Re: WSS4J and SAML >> >>see >>ws-wss4j\interop\org\apache\ws\axis\oasis\Client_deploy.wsdd >>and ws-wss4j\interop\org\apache\ws\axis\oasis\ping\deploy.wsdd >> >>thanks, >>-- dims >> >>On 8/23/05, Jake Wu <[EMAIL PROTECTED]> wrote: >>> Dear all, >>> >>> Is there any existing sample on using WSDoAllSender/WSDoAllReceiver >>> handlers with adding SAML assertion as token. >>> >>> I would imagine it should be something like the following >>fragment in >>> the wsdd file, with specifying "action" parameter as >>"SAMLToken", and >>> configuring other necessary parameters including a proper saml >>> properties file,etc. However I can't find any samples on this.. >>> >>> <handler type="java:org.apache.ws.axis.security.WSDoAllSender" > >>> <parameter name="action" value="SAMLToken"/> >>> <parameter name=... value=.../> >>> <parameter name=... value=.../> >>> <parameter name="SAMLPropFile" value= (some file)/> </handler> >>> >>> >>> If anyone has any experiences or advices on this problem, please >>> advise.. >>> >>> Many thanks, >>> >>> jake >>> >> >> >>-- >>Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service >>Platform >> >
