I'm afraid it's not what I want. I want to create a BinarySecurityToken for the message that is outgoing from my message. I don't know what that code that you have sent is doing.
----- Original Message ----- From: "olivier GUIDER" <[EMAIL PROTECTED]> To: <axis-user@ws.apache.org>; "Anna Krajewska" <[EMAIL PROTECTED]> Sent: Thursday, October 06, 2005 1:47 PM Subject: Re: How to create BinarySecurityToken from X509Certificate? > HttpServletRequest request = > > (HttpServletRequest)MessageContext.getCurrentContext().getProperty(HTTPConst > ants.MC_HTTP_SERVLETREQUEST); > > X509Certificate[] certificate = > > (X509Certificate[])request.getAttribute("javax.servlet.request.X509Certifica > te"); > > certificate[0] is the end of the chain. > certificate[0].getSubjectDN(); > > I found this code...searching something else...but i don't use it....