diff options
Diffstat (limited to 'BKUOnline/src/main')
-rw-r--r-- | BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaParameterBean.java | 3 | ||||
-rw-r--r-- | BKUOnline/src/main/webapp/SLRequestForm.html | 4 | ||||
-rw-r--r-- | BKUOnline/src/main/webapp/applet.jsp | 8 |
3 files changed, 13 insertions, 2 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 b507ea70..e6a79e97 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 @@ -61,7 +61,8 @@ public class MoccaParameterBean { 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", "identity"}; + public static final String[] VALUES_APPLET_EXTENSION = new String[] {"pin", "activation", + "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}"); diff --git a/BKUOnline/src/main/webapp/SLRequestForm.html b/BKUOnline/src/main/webapp/SLRequestForm.html index fb910264..cdfc4508 100644 --- a/BKUOnline/src/main/webapp/SLRequestForm.html +++ b/BKUOnline/src/main/webapp/SLRequestForm.html @@ -200,11 +200,13 @@ <label for="appletPage">Locale</label> <input value="de_AT" name="locale"/> </p> + <p> <label for="appletExtension">Extensions</label> <input type="radio" name="appletExtension" value="pin" onclick="setAppletDimension(295, 235)">PIN Management Applet <input type="radio" name="appletExtension" value="identity" onclick="setAppletDimension(295, 235)">Identity Link Applet - <!--<input type="checkbox" name="appletExtension" value="pin" onclick="setAppletDimension(295, 235)">PIN Management Applet--> + <input type="radio" name="appletExtension" value="getcertificate" onclick="setAppletDimension(295, 235)">Get Certificate Applet + <input type="radio" name="appletExtension" value="hardwareinfo" onclick="setAppletDimension(295, 235)">Hardwareinfo Applet </p> <!-- diff --git a/BKUOnline/src/main/webapp/applet.jsp b/BKUOnline/src/main/webapp/applet.jsp index bf657a9e..f6b07e7f 100644 --- a/BKUOnline/src/main/webapp/applet.jsp +++ b/BKUOnline/src/main/webapp/applet.jsp @@ -65,6 +65,14 @@ <c:set var="appletArchive" value="BKUAppletExt-single.jar"/> <c:set var="appletClass" value="at.gv.egiz.bku.online.applet.IdentityLinkApplet.class"/> </c:when> + <c:when test="${requestScope.moccaParam.extension == 'getcertificate'}"> + <c:set var="appletArchive" value="BKUAppletExt-single.jar"/> + <c:set var="appletClass" value="at.gv.egiz.bku.online.applet.GETCertificateApplet.class"/> + </c:when> + <c:when test="${requestScope.moccaParam.extension == 'hardwareinfo'}"> + <c:set var="appletArchive" value="BKUAppletExt-single.jar"/> + <c:set var="appletClass" value="at.gv.egiz.bku.online.applet.HardwareInfoApplet.class"/> + </c:when> <c:otherwise> <c:set var="appletArchive" value="BKUApplet-single.jar"/> <c:set var="appletClass" value="at.gv.egiz.bku.online.applet.BKUApplet.class"/> |