General J2EE: question about weblogic default LDAP

  1. question about weblogic default LDAP (1 messages)

    I'm new to LDAP, currently I'm using BEA Weblogic8.1 default LDAP authenticator. I have following questions:

    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?

    thank you!!
  2. 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).

    Take care