File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Meaningless Drivel and the fly likes JAAS Configuration gives Authontication Failure Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Reply locked New topic

JAAS Configuration gives Authontication Failure Error

Swati Save

Joined: Mar 06, 2010
Posts: 14

I have JAAS config file as below,

dpJndi { required
security.principal="anonymous logon"
group.provider.url="ldap:// GROUPS,ou=GROUPS,dc=swatsaveltd,dc=com"

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?"group"

Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3927

Please continue the discussion in your other topic.
Locking this one.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
I agree. Here's the link:
subject: JAAS Configuration gives Authontication Failure Error
jQuery in Action, 3rd edition