• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

j_security_check???????

 
Gabriel Tunde
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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................
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
 
Gabriel Tunde
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic