You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2005/10/25 21:48:54 UTC

[Ws Wiki] Update of "RonReynolds/Wss4jFaq" by RonReynolds

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by RonReynolds:
http://wiki.apache.org/ws/RonReynolds/Wss4jFaq

New page:
A place to compile Frequently Asked Questions that pop up on the wss4j-dev@ list.

'''Server Side'''

''How to get client DN out of the public key certificate after authentication?''
{{{HttpServletRequest request =
(HttpServletRequest)MessageContext.getCurrentContext().getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);

X509Certificate[] certificate =
(X509Certificate[])request.getAttribute("javax.servlet.request.X509Certificate");

// certificate[0] is the end of the chain.
certificate[0].getSubjectDN();
}}}
http://marc.theaimsgroup.com/?l=axis-user&m=112497369029586&w=2 

''Question''
{{{
Answer
}}}
http://example.com/reference
----
'''Client Side'''

''Question''
{{{
Answer
}}}
http://example.com/reference