From 0361aa23cbef10d5989e633d128414138c6ee5cc Mon Sep 17 00:00:00 2001 From: tknall Date: Thu, 12 Apr 2007 17:58:07 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@64 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../wag/egov/egiz/ldap/client/LDAPClientFactory.java | 12 ++++++------ .../wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java | 2 +- .../wag/egov/egiz/ldap/client/LDAPMappingStore.java | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src/main') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactory.java b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactory.java index 0d51f96..7cd98c6 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactory.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactory.java @@ -46,12 +46,12 @@ public abstract class LDAPClientFactory { } // public synchronized void registerMappings(Iterable iterable) { - public synchronized void registerMappings(Iterable iterable) { - if (!iterable.iterator().hasNext()) { - log.warn("There were no ldap mappings provided."); - } - this.ldapMappingStore.storeMappings(iterable); - } +// public synchronized void registerMappings(Iterable iterable) { +// if (!iterable.iterator().hasNext()) { +// log.warn("There were no ldap mappings provided."); +// } +// this.ldapMappingStore.storeMappings(iterable); +// } public synchronized void registerMapping(LDAPMapping ldapMapping) { this.ldapMappingStore.storeMapping(ldapMapping); diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java index ad19df5..bf233a8 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java @@ -45,7 +45,7 @@ public final class LDAPClientFactoryImpl extends LDAPClientFactory { private LDAPClient instantiateLDAPClient(String issuerName) throws LDAPException { if (!super.hasBeenConfigured()) { - log.warn(super.getClass().getSimpleName() + " has not been configured yet."); + log.warn(super.getClass().getName() + " has not been configured yet."); } LDAPClient client = null; LDAPMapping mapping = super.getMapping(issuerName); diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPMappingStore.java b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPMappingStore.java index 2cd51ba..4416649 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPMappingStore.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPMappingStore.java @@ -53,12 +53,12 @@ public class LDAPMappingStore { } } - public void storeMappings(Iterable iterable) { - Iterator it = iterable.iterator(); - while (it.hasNext()) { - this.storeMapping((LDAPMapping) it.next()); - } - } +// public void storeMappings(Iterable iterable) { +// Iterator it = iterable.iterator(); +// while (it.hasNext()) { +// this.storeMapping((LDAPMapping) it.next()); +// } +// } public LDAPMapping getMapping(Name name) { if (issuerNameFilter != null) { -- cgit v1.2.3