-
1. Re: JAAS Configuration!
ffang Jul 10, 2012 6:18 AM (in response to ravikumarrs)Hi,
Take a look at , it should be a good start for you.
http://karaf.apache.org/manual/latest-2.2.x/developers-guide/security-framework.html
Freeman
-
2. Re: JAAS Configuration!
ravikumarrs Jul 12, 2012 5:13 AM (in response to ffang)Hi,
Thanks for your reply.
I have a login screen after submitting, going to controller. In Controller I am creating the LoginContext passing the Callbackhandler and the name of the module which is defined in the JAAS configuration file. Ex: MyLogin { RDBMSLoginModule required }.
I kept the jaas.conf in WEB-INF folder and I am getting the below exception.
Caught Exception: javax.security.auth.login.LoginException: No LoginModules configured for Example
I would like to know, where do I need to keep this jaas.conf file in the application, after deploying as a bundle it should be able to read the .conf file to get the login module name. Or any other way to achieve this.
Any help is greatly received.