This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes JNDIRealm/Session questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JNDIRealm/Session questions" Watch "JNDIRealm/Session questions" New topic
Author

JNDIRealm/Session questions

Black Frogg
Greenhorn

Joined: Jun 12, 2002
Posts: 2
Hi there,

I just succeded in authenticating a user in a Active Directory via JNDIRealm. I "locked" a directory so that everyone who wants to access someting in there has to authenticate.

My questions now are:

1. Is it possible to access the login information (which the user just typed in) later on? Maybe in the Session Object or sth. like that?

2. When I try to log out nothing happens - see my code:



I tried IE6 and Firefox 1.007.
Normally the user should now get another login popup-because the index.html is in a protected place. But I still can access index.html!?!
Is the session not beeing deleted or why isn't it working?

Thanks for your time,

bye Uli
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JNDIRealm/Session questions
 
Similar Threads
How to secure my page
Detecting Servlet timeout using ajax/post.
How to separate Business Logic from the servlet
Help! HTTP Status 404 - The requested resource () is not available
Session tracking