File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JAAS on JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JAAS on JBOSS" Watch "JAAS on JBOSS" New topic


Venkataramana Borusu

Joined: Dec 04, 2006
Posts: 1

This is my first post in to this forum. I am new to JAAS, so please correct me if I am going in wrong path.

For user authentication we are planning to use JAAS: HTTP-basic authentication. We have requirement to configure the number of allowed attempts for user, if they fail while trying to LOG-IN. I have configured the my application, if user fails to login, by defaults JAAS-JBOSS is allowing the user for 3 attempts, if user fails on 4th attempt, user will be redirected to default login fail page. We need to change this number of attempts. We are planning to use BASIC authentication model.

Any inputs are welcome´┐Ż.

Thanks much,
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
You can do this in the loginmodule that you are planning to configure to your JAAS.

Rahul Bhattacharjee
LinkedIn - Blog
I agree. Here's the link:
subject: JAAS on JBOSS
It's not a secret anymore!