aspose file tools*
The moose likes JBoss/WildFly and the fly likes logout of http over jndi does not work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "logout of http over jndi does not work" Watch "logout of http over jndi does not work" New topic
Author

logout of http over jndi does not work

li li
Greenhorn

Joined: Apr 15, 2004
Posts: 1
hi,
I have configed http over jndi and the login process works perfectly. Unfortunately the logout does not work.
the codes for logout are very simple:
ctx.close();
loginContext.logout();
The problem is that use can login use any arbitrary user and password until shuting down the java VM. I have tested on jboss 3.0.8 and 3.2, same result. In fact, there is nothing in common for the first and second login. After look into SecurityAssociationHandler, I found user name and password were fetched for the second login. Although they are invalid, the login is successful.
Can any one give me a hint? Are the logout codes wrong? Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: logout of http over jndi does not work
 
Similar Threads
How to ristrict multiple login's at the same time using same username?
why Internet Explorer is different than other browsers in jsp?
enable web access from email url link
Login/logout Problem
User who is logged in simultaneously from different browser ... how to forcely logout the first user