Class LdapConnModule

    • Constructor Detail

      • LdapConnModule

        public LdapConnModule()
        instantiate connection factory.
    • Method Detail

      • getLdapConnFactory

        public ILdapConnFactory getLdapConnFactory()
        Returns the internal ldap connection factory. This can be useful to get a ldap connection to the ldap publishing directory without having to get it again from the config file. Note that this means sharing a ldap connection pool with the ldap publishing module so be sure to return connections to pool. Use ILdapConnFactory.getConn() to get a Ldap connection to the ldap publishing directory. Use ILdapConnFactory.returnConn() to return the connection.
        Specified by:
        getLdapConnFactory in interface ILdapConnModule
        Returns:
        Instance of ILdapConnFactory.
        See Also:
        LdapBoundConnFactory, ILdapConnFactory