Remove unused singleton code
[netconf.git] / netconf / aaa-authn-odl-plugin / src / main / java / org / opendaylight / aaa / odl / CredentialServiceAuthProvider.java
index 19e72dfe08bf9aec4d1397b085a3271e8e1de2df..3d86ee1751adfd5037c8c369a42124e4a3f0f442 100644 (file)
@@ -7,7 +7,6 @@
  */
 package org.opendaylight.aaa.odl;
 
-import java.util.Map;
 import org.opendaylight.aaa.api.AuthenticationException;
 import org.opendaylight.aaa.api.Claim;
 import org.opendaylight.aaa.api.CredentialAuth;
@@ -27,11 +26,6 @@ import org.slf4j.LoggerFactory;
 public final class CredentialServiceAuthProvider implements AuthProvider, AutoCloseable {
     private static final Logger LOG = LoggerFactory.getLogger(CredentialServiceAuthProvider.class);
 
-    /**
-     * Singleton instance with delayed instantiation.
-     */
-    public static volatile Map.Entry<BundleContext, CredentialServiceAuthProvider> INSTANCE;
-
     // FIXME CredentialAuth is generic and it causes warnings during compilation
     // Maybe there should be a PasswordCredentialAuth implements CredentialAuth<PasswordCredentials>
     private volatile CredentialAuth<PasswordCredentials> nullableCredService;