All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yammer.dropwizard.authenticator.AutoclosingDirContext Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.yammer.dropwizard.authenticator;

import javax.naming.NamingException;
import javax.naming.directory.InitialDirContext;
import java.util.Hashtable;

public class AutoclosingDirContext extends InitialDirContext implements AutoCloseable {

    protected AutoclosingDirContext(boolean lazy) throws NamingException {
        super(lazy);
    }

    public AutoclosingDirContext() throws NamingException {
        super();
    }

    public AutoclosingDirContext(Hashtable environment) throws NamingException {
        super(environment);
    }

    @Override
    public void close() throws NamingException {
        super.close();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy