Rampart evaluates the XPath expressions and the specifies the the
QName in a WSEncryptionPart instance.

Please see : org.apache.rampart.util.RampartUtil#getPartsAndElements() [1]

Thanks,
Ruchith

1. 
https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/util/RampartUtil.java

2008/6/5 Oliver Wulff <[EMAIL PROTECTED]>:
> Hi Nandana
>
> I use CXF as the ws stack.
>
> How does Rampart implements XPath expression support because WSS4J only
> support QNames specifications. Does Rampart translate XPath expressions to
> QName specifications, and then use the WSS4J APIs to perform message
> protection using QNames or does Rampart bypass WSS4J and uses
> xml-encryption library directly?
>
> Thanks
> Oliver
>
>
>
>
>                      "Nandana
>                      Mihindukulasooriy        An:       wss4j-dev 
> <[email protected]>
>                      a"                       Kopie:    (Blindkopie: Oliver 
> Wulff/CHK/External/Zurich)
>                      <[EMAIL PROTECTED]        Thema:    Re: 
> WSEncryptionPart, XPath support
>                      l.com>
>
>                      02.06.2008 14:50
>
>
>
>
>
> Hi Oliver,
>       What is the WS Stack you are using ? Axis , Axis2 or CXF ? If you
> are using Axis2 + Rampart , it has support for specifying signature &
> encryption elements using XPATH using WS Security Policy assertions.
>
> thanks,
> nandana
>
> 2008/6/2 Oliver Wulff <[EMAIL PROTECTED]>:
>
>  Hi there
>  Does WSS4J support to set XPath expressions to tell which parts should be
>  encrypted?
>  Thanks
>  Oliver
>
>
>
>
>
>
>
>  ******************* BITTE BEACHTEN *******************
>  Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
>  möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
>  Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
>  genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
>  irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
>  Ausschluss jeder Reproduktion zu zerstören und die absendende Person
>  umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
>
>
>  ******************* BITTE BEACHTEN *******************
>  Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
>  möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
>  Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
>  genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
>  irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
>  Ausschluss jeder Reproduktion zu zerstören und die absendende Person
>  umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
http://blog.ruchith.org
http://wso2.org

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

Reply via email to