aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/knowcenter/wag')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactory.java12
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java2
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPMappingStore.java12
3 files changed, 13 insertions, 13 deletions
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<LDAPMapping> 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) {