diff options
Diffstat (limited to 'ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/support/ServiceLocatorImpl.java')
-rw-r--r-- | ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/support/ServiceLocatorImpl.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/support/ServiceLocatorImpl.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/support/ServiceLocatorImpl.java index 704cd39a..fb705728 100644 --- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/support/ServiceLocatorImpl.java +++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/support/ServiceLocatorImpl.java @@ -96,17 +96,4 @@ public class ServiceLocatorImpl implements ServiceLocator { return dirContext; } - // Get an LDAP directory context - LDAPv3-style - /* - * public InitialLdapContext getLdapContext() { //throws NamingException { if - * (ldapContext == null) { Properties properties = new Properties(); // @todo - - * need to parameterize context factoy class and url - * properties.put(Context.INITIAL_CONTEXT_FACTORY, - * AttLdap.DIR_INITIAL_CONTEXT_FACTORY); properties.put(Context.PROVIDER_URL, - * AttLdap.DIR_PROVIDER_URL); properties.put(Context.SECURITY_PRINCIPAL, - * AttLdap.DIR_SECURITY_PRINCIPAL); Control[] ctrl = null; try { ldapContext = - * new InitialLdapContext(properties, ctrl); } catch (NamingException ne) { // - * MJ FIX log exception? } } return ldapContext; } - */ - } |