8 Replies Latest reply on Mar 8, 2013 6:38 AM by Steven Hawkins

    Establishing an LDAP connection with non-hard coded credentials

    John Bay Newbie

      With what I'm currently working on, we have an ldap translator we have written, and we use the default ldap connector. As a part of this connector, you can hard code a user name and password for establishing the ldap context in the related translator's resource adapter xml. Is there an easy way to be able to generate/insert a password(or in my case, a passticket) dynamically with java instead of this hard coded method? Can it be done without modifying or creating a whole new connector? Could I create an LdapLoginModule (https://community.jboss.org/wiki/LdapLoginModule) and then point to that as the security for the ldap translator in its resource adapter xml?

       

      Any help or direction is greatly appreciated.

       

      Thanks!