securing ejb application depolyed in glassfish V3 using ldap realm that points to active directory
anas sarairah
Greenhorn
Joined: Oct 10, 2008
Posts: 5
posted
0
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
This message was edited 1 time. Last update was at by Devaka Cooray
subject: securing ejb application depolyed in glassfish V3 using ldap realm that points to active directory