How do LockOutRealms work ?

2015-08-23 Thread Sreyan Chakravarty
I am confused with the functioning of LockOutRealms in Tomcat. My questions are as follows-: 1. Say user at IP 10.10.10.1 has reached the maximum number of invalid login attempts and is locked out. Now say a user from 10.10.10.2 attempts to login, will Tomcat stop him too since he is tr

Why use a JAAS Realm ?

2015-08-23 Thread Sreyan Chakravarty
I would like to know the advantages a JAAS Realm offers over other Realms like DataSource Realms. - Do JAAS Realms allow configuring a custom password hashing protocol like bCrypt ? - Can I do post login activities like storing the user-id in the user session ? - Are there any adva

Need help with using CredentialHandler

2015-08-23 Thread Sreyan Chakravarty
I need to use Container Managed Security and Authentication in my latest project. And I have a couple of queries regarding how to configure a Credential Handler. 1. Firstly how will a CredentialHandler declaration look like ? Can someone provide a sample declaration of the NestedCredentialH