Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Software Craftsman this week in the Agile 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 ?
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: authenticate anonymous user of a web app to the EJB tier