[jboss-dev-forums] [JBoss Web Services Development] - HTTP Client Certificate authentication for JbossWS Native client
spyhunter99
do-not-reply at jboss.com
Wed Feb 22 14:34:14 EST 2012
spyhunter99 [https://community.jboss.org/people/spyhunter99] created the discussion
"HTTP Client Certificate authentication for JbossWS Native client"
To view the discussion, visit: https://community.jboss.org/message/718868#718868
--------------------------------------------------------------
I have a situation in which my web service client (running in a jsp) needs to be able to dynamically change authentication parameters for accessing a partical service based off of some administrative settings. (I need help with B)
Scenario A: HTTP Basic username/password
Status: It works great, all I need to do is to pass along the username and password from the form login via the context provider object
Scenario B: Multihop with HTTPS with client certificates
User's Browser (with a user cert) to Jboss web client (in a jsp. server has it's own server cert) which then calls the web service, using the server cert as a client-cert.
Status: doesn't work and I'm not sure what I'm missing.
The overal goal is to provide some level of impresonation from the end user, through the web interface, to the web service. I'm doing this by passing along some custom headers (not that's beyond the point right now). So the question really is, what do I need to specify programmatically to setup the web service client in the jsp, in order to setup the SSL connection with client certs.
Ideally, I'd like to just steal the settings from the container, that way configuration is similified.
I've pretty sure I've done this in the past with a console app and jbossws. All I did was specificy the location of the key store via the environment properties (javax.net.ssl ...). Which leaves me a bit puzzled why it wouldn't be picked up from the stack.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/718868#718868]
Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2047]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120222/5a7b69ff/attachment.html
More information about the jboss-dev-forums
mailing list