summaryrefslogtreecommitdiff
path: root/eaaf_core/src/test/java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-05-29 13:57:17 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-05-29 13:57:17 +0200
commit3be8b5c3c139ab75db4ae9ac927800505194d987 (patch)
tree25780c470ab841a4848d5750a8ed8544900af7f0 /eaaf_core/src/test/java
parent522204d1c4b0cb9e3705e5e0d4605e20782fab36 (diff)
downloadEAAF-Components-3be8b5c3c139ab75db4ae9ac927800505194d987.tar.gz
EAAF-Components-3be8b5c3c139ab75db4ae9ac927800505194d987.tar.bz2
EAAF-Components-3be8b5c3c139ab75db4ae9ac927800505194d987.zip
add new attribute builder
fix some injection and dependency problems
Diffstat (limited to 'eaaf_core/src/test/java')
-rw-r--r--eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummyConfiguration.java39
1 files changed, 23 insertions, 16 deletions
diff --git a/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummyConfiguration.java b/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummyConfiguration.java
index 880582cd..ffb921ce 100644
--- a/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummyConfiguration.java
+++ b/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummyConfiguration.java
@@ -27,25 +27,11 @@ public class DummyConfiguration implements IConfiguration {
}
@Override
- public Map<String, String> getBasicMOAIDConfigurationWithPrefix(String prefix) {
+ public Map<String, String> getBasicConfigurationWithPrefix(String prefix) {
// TODO Auto-generated method stub
return null;
}
-
- @Override
- public boolean getBasicMOAIDConfigurationBoolean(String key, boolean defaultValue) {
- if (AbstractAuthenticationDataBuilder.CONFIG_PROP_ENABLE_IDL_ATTRIBUTE_ESCAPEING.equals(key)) {
- if (isIDLEscapingEnabled == null)
- return defaultValue;
- else
- return isIDLEscapingEnabled;
-
- }
-
-
- return false;
- }
-
+
@Override
public ISPConfiguration getServiceProviderConfiguration(String uniqueID) throws EAAFConfigurationException {
// TODO Auto-generated method stub
@@ -74,4 +60,25 @@ public class DummyConfiguration implements IConfiguration {
public void setIsIDLEscapingEnabled(Boolean isIDLEscapingEnabled) {
this.isIDLEscapingEnabled = isIDLEscapingEnabled;
}
+
+ @Override
+ public Boolean getBasicConfigurationBoolean(String key) {
+ return null;
+
+ }
+
+ @Override
+ public boolean getBasicConfigurationBoolean(String key, boolean defaultValue) {
+ if (AbstractAuthenticationDataBuilder.CONFIG_PROP_ENABLE_IDL_ATTRIBUTE_ESCAPEING.equals(key)) {
+ if (isIDLEscapingEnabled == null)
+ return defaultValue;
+ else
+ return isIDLEscapingEnabled;
+
+ }
+
+
+ return false;
+
+ }
}