> > From: Sebastian Hauer [mailto:[EMAIL PROTECTED]
> > server side.  I don't want to implement a client side JAAS 
> > login modul
In my first answer I mean server-side JAAS login module.
You can write one big module which makes all work ( autentification/
authorization and failure counter ),  or (maybe) two modules, 
and makes chain of modules in login-config.xml

Example ( conceptual schema, I haven't done this )
        1.) first own module :
                counter=getCounterForLogin(login)
                counter++;
                setCounterForLogin(login,counter)
                if (counter>4) return LOGIN_FAIL
                return SUCCESS
        2.) another login module ( LDAP/Database .... )
        3.) second own module
                setCounterForLogin(login,0)
                return SUCCESS


        vlk     



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to