Hi Paul,
I've just added support for this by copying the Servlet's UserPrincipal into
the Request#clientInfo#subject#principals property.
Could you do some testing with latest trunk or next snapshot and let me know
if it works fine?
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ <http://www.restlet.org/>
http://www.restlet.org
Noelios Technologies ~ Co-founder ~ <http://www.noelios.com/>
http://www.noelios.com
_
De : Paul Austin [mailto:mail-li...@revolsys.com]
Envoyé : vendredi 20 mars 2009 20:55
À : discuss@restlet.tigris.org
Objet : Principal from HttpServletRequest
Is it possible to get the Princpal object from the HttpServletRequest
without getting access to the HttpServletRequest itself. I'm using spring
security as my authentication layer which sets a Principal in a wrapper of
the request.
Cheers,
Paul
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1523141