• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

j_security

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys..
The Application i'm working on uses j_security for login. Now i have to implement a check instantly after login for various statuses (like, verify, deactivated, etc) and i don't have any idea how to do..
Do you know where the login itself is implemented when using j_security or how i could realize this feature?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Probably not in a portable manner. The point of container-managed auth is that the container does it, not the app itself, and so there are no hooks into it.

If you're using a particular servlet container (such as Tomcat), you could write a Valve (I think), or extend the Realm being used, to do extra stuff, but not with the Servlet API.
 
Harald Huffinger
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'm using glassfish so i have to look if i can change some things on the realms there?
 
reply
    Bookmark Topic Watch Topic
  • New Topic