This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes authenticate anonymous user of a web app to the EJB tier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "authenticate anonymous user of a web app to the EJB tier" Watch "authenticate anonymous user of a web app to the EJB tier" New topic
Author

authenticate anonymous user of a web app to the EJB tier

Laurent Raynal
Greenhorn

Joined: Jul 20, 2001
Posts: 12
Hi,
We would like to have all the (anonymous) users of a web app authenticated with the same principal (the web app "owner") to the EJB tier. Our problem is that the fact that web users are unauthenticated seem to propagate to the EJB tier. We're using Weblogic 5.1.
Users are serviced by a session statefull EJB. We set up the EJB when the user first accesses the application : user and password are set in the JNDI context and subsequent method calls on the EJB corresponding to the same HTTP request are authenticated. However, when the servlet accesses its session EJB on the 2nd hit, it won't be authenticated.
Any ideas ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: authenticate anonymous user of a web app to the EJB tier