camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samslara <samsl...@yahoo.com>
Subject Re: obtaining a reference to X509Certificate from jetty:https
Date Tue, 26 Apr 2011 22:20:46 GMT
I've figured it out and for anyone who's interested:

from the Exchange you can get the HttpServletRequest via:

exchange.getIn().getBody(HttpServletRequest.class)

and from there get the X509Certificate via:

request.getAttribute("javax.servlet.request.X509Certificate")

--
View this message in context: http://camel.465427.n5.nabble.com/obtaining-a-reference-to-X509Certificate-from-jetty-https-tp4339724p4342279.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message