• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

logout of http over jndi does not work

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic