Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Retrieving request Credential (HttpInTransport)

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Retrieving request Credential (HttpInTransport)


Chronological Thread 
  • From: Brent Putman <>
  • To:
  • Subject: Re: [OpenSAML] Retrieving request Credential (HttpInTransport)
  • Date: Thu, 19 Jun 2008 20:54:16 -0400

Yes, it is possible.  You're just looking at the wrong version of the file, current development is on the REL_1 branch, not the trunk.  You'll see getPeerCredential() implemented here:

http://svn.middleware.georgetown.edu/view/java-openws/branches/REL_1/src/main/java/org/opensaml/ws/transport/http/HttpServletRequestAdapter.java?revision=240&view=markup

You can see an example of usage in the security policy rule ClientCertAuthRule.

getLocalCredential(), which also comes from the top level Transport interface isn't relevant of the HTTPServletRequestAdapter and that's why it returns null.

--Brent


Joana M. F. Trindade wrote:
Hi,

Is it possible to retrieve an OpenSAML Credential from an incoming http request using the transport.http API?
I noticed the getPeerCredential() and getLocalCredential() methods on HttpServletRequestAdapter, but according to the repository [1] it currently returns null.

[1] - http://svn.middleware.georgetown.edu/view/java-openws/trunk/src/org/opensaml/ws/transport/http/HttpServletRequestAdapter.java?revision=108&view=markup&pathrev=108

Thanks,
Joana
--
Joana M. F. da Trindade

Email:
Personal Homepage: http://www.inf.ufrgs.br/~jmftrindade
LinkedIn: http://www.linkedin.com/in/joanatrindade



Archive powered by MHonArc 2.6.16.

Top of Page