summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'BKUOnline/src/main/java/at')
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaParameterBean.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaParameterBean.java b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaParameterBean.java
index 9cb9360c..aba12365 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaParameterBean.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaParameterBean.java
@@ -53,16 +53,18 @@ public class MoccaParameterBean {
public static final String PARAM_APPLET_HEIGHT = "appletHeight";
public static final String PARAM_APPLET_BACKGROUND = "appletBackground";
-
+
+ public static final String PARAM_REDIRECT_TARGET = "redirectTarget";
+
public static final String PARAM_APPLET_BACKGROUND_COLOR = "appletBackgroundColor";
public static final Pattern PATTERM_APPLET_BACKGROUND_COLOR = Pattern.compile("\\#[0-9a-fA-F]{6}");
-
+
public static final String PARAM_APPLET_GUI_STYLE = "appletGuiStyle";
public static final String[] VALUES_APPLET_GUI_STYLE = new String[] {"tiny", "simple", "advanced"};
public static final String PARAM_APPLET_EXTENSION = "appletExtension";
public static final String[] VALUES_APPLET_EXTENSION = new String[] {"pin", "activation",
- "getcertificate", "hardwareinfo", "identity"};
+ "getcertificate", "hardwareinfo", "identity"};
public static final String PARAM_LOCALE = "locale";
public static final Pattern PATTERN_LOCALE = Pattern.compile("[a-zA-Z][a-zA-Z](_[a-zA-Z][a-zA-Z]){0,2}");
@@ -134,6 +136,10 @@ public class MoccaParameterBean {
return null;
}
+ public String getredirectTarget() {
+ return getString(PARAM_REDIRECT_TARGET);
+ }
+
public String getGuiStyle() {
String guiStyle = getString(PARAM_APPLET_GUI_STYLE);
if (guiStyle != null && !guiStyle.isEmpty()) {