This is allowing user from a perticular OU to login. I want user from all the OUs can log in to the application (People, Group etc.). Please suggest me on what kind of changes I need to do in the file.
Also is it neccessry to put below statement in the cofiguration?
If you're using JAAS just to authenticate and authorize against an Active Directory server, that's doing things the hard way. It's much simpler just to use the JNDIRealm.
If you actually did write custom A&A code that requires JAAS to run, that's a different matter, but we're not JAAS experts here. You're better off asking questions about JAAS and its configuration in the security forum.
Some people, when well-known sources tell them that fire will burn them, don't put their hands in the fire.
Some people, being skeptical, will put their hands in the fire, get burned, and learn not to put their hands in the fire.
And some people, believing that they know better than well-known sources, will claim it's a lie, put their hands in the fire, and continue to scream it's a lie even as their hands burn down to charred stumps.
The fastest and most reliable components of any system are those that are not there. Tiny ad: