wood burning stoves*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Reply locked New topic
Author

JAAS Configuration gives Authontication Failure Error

Swati Save
Greenhorn

Joined: Mar 06, 2010
Posts: 14
Hi,

I have JAAS config file as below,

dpJndi {
com.hp.ov.cwc.security.jaas.JndiLoginModule required
user.provider.url="ldap://swatsaveltd.com:389/cn=users,dc=swatsaveltd,dc=com"
security.principal="anonymous logon"
security.credentials=""
group.provider.url="ldap://swatsaveltd.com:389/ou=SECURITY GROUPS,ou=GROUPS,dc=swatsaveltd,dc=com"
security.authentication="simple"
group.search.objectClass="group"
use.samAccount.name="true"
user.search.scope=subtree_scope
group.search.scope=subtree_scope;
}

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.search.objectClass="group"


Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2886
    
  13

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


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
 
wood burning stoves
 
subject: JAAS Configuration gives Authontication Failure Error
 
Similar Threads
JAAS Configuration gives Authontication Failure Error
weblogic8.1 with open LDAP authentication
WLS6.1 - Configuring realm for openLdap
AD authentication with JAAS
JNDIRealm and digest