aspose file tools*
The moose likes Security and the fly likes securing ejb application depolyed in glassfish V3 using ldap realm that points to active directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "securing ejb application depolyed in glassfish V3 using ldap realm that points to active directory" Watch "securing ejb application depolyed in glassfish V3 using ldap realm that points to active directory" New topic
Author

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

anas sarairah
Greenhorn

Joined: Oct 10, 2008
Posts: 5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: securing ejb application depolyed in glassfish V3 using ldap realm that points to active directory