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