aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-02-28 14:17:33 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-02-28 14:17:33 +0000
commitb89550cb29a6cc4b36147d3d9925709c38ba8171 (patch)
treec322649eda4fffa7cb2b61eb1a5b0657be9ca887 /id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java
parent18241a6df201ffa83e8dcc1d84e9ae8505c268f7 (diff)
downloadmoa-id-spss-b89550cb29a6cc4b36147d3d9925709c38ba8171.tar.gz
moa-id-spss-b89550cb29a6cc4b36147d3d9925709c38ba8171.tar.bz2
moa-id-spss-b89550cb29a6cc4b36147d3d9925709c38ba8171.zip
Updated for loading templates from the config file.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@640 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java52
1 files changed, 50 insertions, 2 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java b/id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java
index ad4dd4b62..4a41f9e75 100644
--- a/id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java
+++ b/id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java
@@ -9,6 +9,11 @@ import at.gv.egovernment.moa.id.config.OAParameter;
* @author Stefan Knirsch
* @version $Id$
*/
+/**
+ *
+ *
+ * @author Harald Bratko
+ */
public class OAAuthParameter extends OAParameter {
/**
* Sercurity Layer version
@@ -51,6 +56,14 @@ public class OAAuthParameter extends OAParameter {
* determines whether the certificate is to be included in the authentication data
*/
private boolean provideCertificate;
+ /**
+ * url to a template for web page "Auswahl der B&uuml;rgerkartenumgebung"
+ */
+ private String bkuSelectionTemplateURL;
+ /**
+ * template for web page "Anmeldung mit B&uuml;rgerkarte"
+ */
+ private String templateURL;
/**
* Returns <code>true</code> if the Security Layer version is version 1.2,
@@ -127,6 +140,25 @@ public class OAAuthParameter extends OAParameter {
public String getKeyBoxIdentifier() {
return keyBoxIdentifier;
}
+
+ /**
+ * Returns the BkuSelectionTemplate url.
+ * @return The BkuSelectionTemplate url or <code>null</code> if no url for
+ * a BkuSelectionTemplate is set.
+ */
+ public String getBkuSelectionTemplateURL() {
+ return bkuSelectionTemplateURL;
+ }
+
+ /**
+ * Returns the TemplateURL url.
+ * @return The TemplateURL url or <code>null</code> if no url for
+ * a Template is set.
+ */
+ public String getTemplateURL() {
+ return templateURL;
+ }
+
/**
* Sets the security layer version.
* Also sets {@link slVersion12} to <code>true</code> if the Security Layer
@@ -192,6 +224,22 @@ public class OAAuthParameter extends OAParameter {
public void setKeyBoxIdentier(String keyBoxIdentifier) {
this.keyBoxIdentifier = keyBoxIdentifier;
}
-
-
+
+ /**
+ * Sets the BkuSelectionTemplate url.
+ * @param bkuSelectionTemplateURL The url string specifying the location
+ * of a BkuSelectionTemplate.
+ */
+ public void setBkuSelectionTemplateURL(String bkuSelectionTemplateURL) {
+ this.bkuSelectionTemplateURL = bkuSelectionTemplateURL;
+ }
+
+ /**
+ * Sets the Template url.
+ * @param templateURL The url string specifying the location
+ * of a Template.
+ */
+ public void setTemplateURL(String templateURL) {
+ this.templateURL = templateURL;
+ }
}