</dependency>
</dependencies>
</dependencyManagement>
- <dependencies>
- <dependency>
- <!-- for JRE requirement check annotation -->
- <groupId>org.jvnet</groupId>
- <artifactId>animal-sniffer-annotation</artifactId>
- <version>1.0</version>
- <optional>true</optional><!-- no need to have this at runtime -->
- </dependency>
- </dependencies>
<build>
<pluginManagement>
</execution>
</executions>
</plugin>
- <plugin>
- <!-- make sure our code doesn't have 1.6 dependencies -->
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>animal-sniffer-maven-plugin</artifactId>
- <version>1.8</version>
- <configuration>
- <signature>
- <groupId>org.codehaus.mojo.signature</groupId>
- <artifactId>java15</artifactId>
- <version>1.0</version>
- </signature>
- </configuration>
- <executions>
- <execution>
- <id>check-java-1.5-compat</id>
- <phase>process-classes</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
*/
import com.sun.jndi.ldap.LdapCtxFactory;
-import org.jvnet.animal_sniffer.IgnoreJRERequirement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private List<Rdn> baseDnRdns;
- @IgnoreJRERequirement
private static void initCtxFactory()
{
ctxFactory = new LdapCtxFactory();
}
- @IgnoreJRERequirement
public LdapConnection( LdapConnectionConfiguration config, Rdn subRdn )
throws LdapException
{
* @param password
* @throws LdapException
*/
- @IgnoreJRERequirement
public LdapConnection( LdapConnectionConfiguration config, String bindDn, String password )
throws LdapException
{