From b89550cb29a6cc4b36147d3d9925709c38ba8171 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Tue, 28 Feb 2006 14:17:33 +0000 Subject: 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 --- .../moa/id/config/auth/OAAuthParameter.java | 52 +++++++++++++++++++++- 1 file changed, 50 insertions(+), 2 deletions(-) (limited to 'id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java') 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ürgerkartenumgebung" + */ + private String bkuSelectionTemplateURL; + /** + * template for web page "Anmeldung mit Bürgerkarte" + */ + private String templateURL; /** * Returns true 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 null if no url for + * a BkuSelectionTemplate is set. + */ + public String getBkuSelectionTemplateURL() { + return bkuSelectionTemplateURL; + } + + /** + * Returns the TemplateURL url. + * @return The TemplateURL url or null if no url for + * a Template is set. + */ + public String getTemplateURL() { + return templateURL; + } + /** * Sets the security layer version. * Also sets {@link slVersion12} to true 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; + } } -- cgit v1.2.3