This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread 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 Introducing JavaFX 8 Programming this week in the JavaFX 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
 
It's not a secret anymore!