diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-02-24 11:42:44 +0100 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-02-24 12:19:36 +0100 |
commit | 4c2406224be2df8b09050178630cdcff979c5ebf (patch) | |
tree | b63247dca7f10780845f9ccf7b19343f773bac6f /id/ConfigWebTool/src/main/java | |
parent | 42c8940c7b813744933d261e4c414f17762062cd (diff) | |
download | moa-id-spss-4c2406224be2df8b09050178630cdcff979c5ebf.tar.gz moa-id-spss-4c2406224be2df8b09050178630cdcff979c5ebf.tar.bz2 moa-id-spss-4c2406224be2df8b09050178630cdcff979c5ebf.zip |
introduced attributeproviderfactory
Diffstat (limited to 'id/ConfigWebTool/src/main/java')
-rw-r--r-- | id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java index 72fc6e3a1..430bafbf5 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java @@ -24,7 +24,6 @@ package at.gv.egovernment.moa.id.configuration.data.oa; import java.util.ArrayList; import java.util.List; - import at.gv.egovernment.moa.id.commons.db.ConfigurationDBRead; import at.gv.egovernment.moa.id.commons.db.dao.config.AttributeProviderPlugin; import at.gv.egovernment.moa.id.commons.db.dao.config.AuthComponentOA; @@ -32,6 +31,7 @@ import at.gv.egovernment.moa.id.commons.db.dao.config.OASTORK; import at.gv.egovernment.moa.id.commons.db.dao.config.OAStorkAttribute; import at.gv.egovernment.moa.id.commons.db.dao.config.OnlineApplication; import at.gv.egovernment.moa.id.commons.db.dao.config.StorkAttribute; +import at.gv.egovernment.moa.id.protocols.stork2.AttributeProviderFactory; public class OASTORKConfig { @@ -146,10 +146,7 @@ public class OASTORKConfig { private List<AttributeProviderPlugin> attributeProviderPlugins; public List<String> getAvailableAttributeProviderPlugins() { - List<String> result = new ArrayList<String>(); - result.add(new AttributeProviderPlugin().getPlugin().getSimpleName()); - - return result; + return AttributeProviderFactory.getAvailablePlugins(); } public List<AttributeProviderPlugin> getAttributeProviderPlugins() { |