You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by se...@gmx.de on 2006/11/08 18:30:12 UTC

Encrypt multiple elements in Body with same name

Hi,

I just have discovered, that in a soap body which has multiple elements with same name, only the first element is encrypted. For example:

<body>
  <user>
   <password>abc</password>
  </user>
  <user>
   <password>abc</password>
 </user>
..

I specificied, that "password" should be encrypted. But only the first <password> element gets encrypted. Is it possiblt to specifiy, that all password elements should be encrypted?

Thanks for answers!

Christoph
-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Encrypt multiple elements in Body with same name

Posted by Ruchith Fernando <ru...@gmail.com>.
I don't think we can specify all password elements to be encrypted. As
a workaround, how about encrypting the whole body?

Thanks,
Ruchith

On 11/8/06, seehamster@gmx.de <se...@gmx.de> wrote:
> Hi,
>
> I just have discovered, that in a soap body which has multiple elements with same name, only the first element is encrypted. For example:
>
> <body>
>   <user>
>    <password>abc</password>
>   </user>
>   <user>
>    <password>abc</password>
>  </user>
> ..
>
> I specificied, that "password" should be encrypted. But only the first <password> element gets encrypted. Is it possiblt to specifiy, that all password elements should be encrypted?
>
> Thanks for answers!
>
> Christoph
> --
> GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
> NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>


-- 
www.ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Encrypt multiple elements in Body with same name

Posted by Ruchith Fernando <ru...@gmail.com>.
I don't think we can specify all password elements to be encrypted. As
a workaround, how about encrypting the whole body?

Thanks,
Ruchith

On 11/8/06, seehamster@gmx.de <se...@gmx.de> wrote:
> Hi,
>
> I just have discovered, that in a soap body which has multiple elements with same name, only the first element is encrypted. For example:
>
> <body>
>   <user>
>    <password>abc</password>
>   </user>
>   <user>
>    <password>abc</password>
>  </user>
> ..
>
> I specificied, that "password" should be encrypted. But only the first <password> element gets encrypted. Is it possiblt to specifiy, that all password elements should be encrypted?
>
> Thanks for answers!
>
> Christoph
> --
> GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
> NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>


-- 
www.ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org