Websphere, RAP and Principal [message #642710] |
Thu, 02 December 2010 13:17 |
|
Hi,
I'm facing an issue when trying to log my users using the J2EE authentication.
Indeed, when I watch in debug mode, I can find my Principal on the HTTPRequest object in the BridgeServlet.
But when I try to access it in the application (inside the RAP framework) using RWT.getRequest().getUserPrincipal() it doesn't work on Websphere.
This was tried under Tomcat and it work because the Principal are stored in the Request. But in Webpshere, the Principal are stored in a context that seems not to be accessible by the RAP application.
Maybe there is an option to launch the RAP framework using the same thread/classloader as Websphere ?
Has anybody already tried and succeed in getting the Principals in the application under Websphere ?
|
|
|
|
Re: Websphere, RAP and Principal [message #650082 is a reply to message #642850] |
Fri, 21 January 2011 16:42 |
|
Hi,
Thank you for your answer which solves my authentication issue.
I succeed accessing to Principal.
Now, I'm facing an issue when trying to invoke a secured remote EJB.
The Subject does not seem to be propagated by the container.
Credentials are not put on the request so EJB can not be invoked.
I try to access Subject in RAP application and on request thread without success. It is always null or empty.
Do you have clues about this issue?
Thank you.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03208 seconds