You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by Cristian Opincaru <cr...@gmail.com> on 2006/08/09 14:28:13 UTC

Add X509 Token

Hi,

I was not able to find a method for adding a binary security token (an
X509 certificate) in the header of a SOAP message. Is this possible in
WSS4J 1.5?

Thanks!

-- 
Cristian OPINCARU
University of the Federal Armed Forces Munich
http://www.unibw.de/cristian.opincaru

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


Re: Add X509 Token

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi,

Please have a look at :
https://svn.apache.org/repos/asf/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/X509Security.java

Note the constructor that accepts a org.w3c.dom.Document and the
setX509Certificate() method.

Thanks,
Ruchith

On 8/9/06, Cristian Opincaru <cr...@gmail.com> wrote:
> Hi,
>
> I was not able to find a method for adding a binary security token (an
> X509 certificate) in the header of a SOAP message. Is this possible in
> WSS4J 1.5?
>
> Thanks!
>
> --
> Cristian OPINCARU
> University of the Federal Armed Forces Munich
> http://www.unibw.de/cristian.opincaru
>
> ---------------------------------------------------------------------
> 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: Add X509 Token

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi,

Please have a look at :
https://svn.apache.org/repos/asf/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/X509Security.java

Note the constructor that accepts a org.w3c.dom.Document and the
setX509Certificate() method.

Thanks,
Ruchith

On 8/9/06, Cristian Opincaru <cr...@gmail.com> wrote:
> Hi,
>
> I was not able to find a method for adding a binary security token (an
> X509 certificate) in the header of a SOAP message. Is this possible in
> WSS4J 1.5?
>
> Thanks!
>
> --
> Cristian OPINCARU
> University of the Federal Armed Forces Munich
> http://www.unibw.de/cristian.opincaru
>
> ---------------------------------------------------------------------
> 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