General J2EE: question about weblogic default LDAP
I'm new to LDAP, currently I'm using BEA Weblogic8.1 default LDAP authenticator. I have following questions:
- Posted by: Robert Strong
- Posted on: December 14 2004 14:23 EST
1. what APIs to use for registration, when I want to create a user entry in default LDAP repository?
2. what APIs to use when I want to authenticate user in servlet? and will it automatically populate Subject with uid and groups stored in LDAP?
1. You can use MBeans (UserEditorMBean) - see WLS javadocs for more info.
2. Check out the medrec sample, file LoginAction.java - shows how it could be done (bit proprietary though).