• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

j_security_check???????

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Form-based authentication in my login page, when a user login, he is validated and his credentials are stored in the cache(i guess). When the user changes his credential (like his password for example), he is still able to login with the previous password until he login with the new password before the previous credentials stored are discarded. Does j_security_check supports caching and how is it disabled? I am using Jboss as the application server. Please help................
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Flush the authentication cache. Check the DefaultCacheTimeout at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JaasSecurityManagerService

You might have to add the DefaultCacheTimeout attribute to the JAAS security manager, mentioned in the %JBOSS_HOME%/server/default/conf/jboss-service.xml file:

 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This link looks more useful:

http://www.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials
 
Gabriel Tunde
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
I tried both solutions proferred in the jboss link and both worked independent of each other.
Thanks once again.
reply
    Bookmark Topic Watch Topic
  • New Topic