aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-02-20 14:57:42 +0100
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-02-24 12:19:36 +0100
commit5304a281d530abbe2aa57dc2583bc72d7988c949 (patch)
treefaeee4a5877e47dd7e1a3508c67f9387b4452406 /id/ConfigWebTool/src/main/java/at/gv/egovernment
parent3f388c8862a4543d8c7f791e5ff47090d533aa0c (diff)
downloadmoa-id-spss-5304a281d530abbe2aa57dc2583bc72d7988c949.tar.gz
moa-id-spss-5304a281d530abbe2aa57dc2583bc72d7988c949.tar.bz2
moa-id-spss-5304a281d530abbe2aa57dc2583bc72d7988c949.zip
config gui for vidp mockups
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at/gv/egovernment')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeProviderPlugin.java24
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java12
2 files changed, 36 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeProviderPlugin.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeProviderPlugin.java
new file mode 100644
index 000000000..275bc81c4
--- /dev/null
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeProviderPlugin.java
@@ -0,0 +1,24 @@
+package at.gv.egovernment.moa.id.configuration.data.oa;
+
+import at.gv.egovernment.moa.id.protocols.stork2.StorkAttributeRequestProvider;
+
+public class AttributeProviderPlugin {
+ private String url = "demourl";
+ private Class plugin = StorkAttributeRequestProvider.class;
+
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ public Class getPlugin() {
+ return plugin;
+ }
+
+ public void setPlugin(Class plugin) {
+ this.plugin = plugin;
+ }
+}
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 da07b10b0..f084115c4 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
@@ -126,4 +126,16 @@ public class OASTORKConfig {
public void setHelperAttributes(List<AttributeHelper> attributes) {
this.attributes = attributes;
}
+
+
+ public List<AttributeProviderPlugin> getAttributeProviderPlugins() {
+ List<AttributeProviderPlugin> result = new ArrayList<AttributeProviderPlugin>();
+ result.add(new AttributeProviderPlugin());
+
+ return result;
+ }
+
+ public boolean isVidpEnabled() {
+ return true;
+ }
}