Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

securing ejb application depolyed in glassfish V3 using ldap realm that points to active directory

 
anas sarairah
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i have an ejb web application that i need to secure using our Active directory and i am facing diffrent kinds of Errors like user [user name ]not found and , other ldap exceptions , i have used similar configuration with open DS and it worked just fine and here is my ldap test configeration along with my web.xml and sun-web.xml
please tell me if there is any thing wrong that i am doing

JAAS Context : ldapRealm
Directory : ldap://192.168.17.20:389
Base DN : CN=Users,DC=amplex-emirates,DC=ae
search-bind-dn: my user name
search-bind-password : my password

and here my web.xml




and also my sun-web.xml



also i have adde a jvm option in glassfish like this ( i saw this in a forum and the who did it claims that it made it working with him )
Djava.naming.referral=follow

thats it .... plese help me here
thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic