Andreas,

this is not possible with WSS4J because this is a proprietary
format that is not specified by OASIS.

Regards,
Werner

Andreas Wiencke wrote:
> Hi,
> 
> I use Axis to access a web service. The web service expects a custom security 
> token that looks like this:
> 
> <S:Envelope
>   xmlns:P="http://portal.bmi.gv.at/ref/pvp1.xsd";
>   xmlns:S="http://schemas.xmlsoap.org/soap/envelope/";
>   xmlns:wsa="http://schemas.xmlsoap.org/ws/2002/03/addressing";
>   xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext";
>   <S:Header>
>     <wsse:Security>
>       <P:pvpToken version="1.8">
>       <P:authenticate>
>         <P:participantId>AT:L6:994</P:participantId>
>         <userPrincipal>
>         <userId>[EMAIL PROTECTED]</userId>
>         <cn>F. Meier</cn>
>         <gvOuId>AT:L6:1299</gvOuId>
>         <ou>L6AL-F2/c</ou>
>         <gvSecClass>2</gvSecClass>
>         <gvGid>UhO5RG++klaOTsVY+CU=</gvGid>
>         <gvFunction>SB</gvFunction>
>         </userPrincipal>
>       </P:authenticate>
>       <P:authorize>
>         <P:role value="ZMR-Fremdenbehoerdenanfrage">
>         <P:param>
>         <P:key>GKZ</P:key>
>         <P:value>60100</P:value>
>         </P:param>
>         </P:role>
>       </P:authorize>
>       </P:pvpToken>
>     </wsse:Security>
>   </S:Header>
>   <S:Body>
>      . . .
>   </S:Body>
> </S:Envelope>
> 
> I do know how to insert a username token by using a client deployment 
> descriptor and WSS4J, but how can I insert such a custom security token into 
> my soap message? Is this possible with Axis/WSS4J at all?
> 
> Thanks in advance for helping,
> 
> Andreas.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to