Package jenkins.security.plugins.ldap
Class SetContextClassLoader
- java.lang.Object
-
- jenkins.security.plugins.ldap.SetContextClassLoader
-
- All Implemented Interfaces:
AutoCloseable
public final class SetContextClassLoader extends Object implements AutoCloseable
EnsuresResourceManager.getFactories
is able to loadDefaultDirObjectFactory
. Apply liberally in atry
-with-resources block wherever we might be calling into JNDI.
-
-
Constructor Summary
Constructors Constructor Description SetContextClassLoader()
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-