aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-07-09 10:11:25 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-07-09 10:11:25 +0200
commit9acf3c2e8aca9016daf76785747d838cdc5b0330 (patch)
treef97d392a8eff4906c961128e231926a76829a4c8 /pdf-as-web/src/main/webapp
parent797634c687c6f44d314e4baa3fed220d142eed73 (diff)
downloadpdf-as-4-9acf3c2e8aca9016daf76785747d838cdc5b0330.tar.gz
pdf-as-4-9acf3c2e8aca9016daf76785747d838cdc5b0330.tar.bz2
pdf-as-4-9acf3c2e8aca9016daf76785747d838cdc5b0330.zip
add SL20 connecter-backend in a first beta version (getCertificate looks good, create signature is untested)
Diffstat (limited to 'pdf-as-web/src/main/webapp')
-rw-r--r--pdf-as-web/src/main/webapp/WEB-INF/web.xml10
-rw-r--r--pdf-as-web/src/main/webapp/index.jsp11
2 files changed, 21 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/webapp/WEB-INF/web.xml b/pdf-as-web/src/main/webapp/WEB-INF/web.xml
index a7bb5f74..9b69c983 100644
--- a/pdf-as-web/src/main/webapp/WEB-INF/web.xml
+++ b/pdf-as-web/src/main/webapp/WEB-INF/web.xml
@@ -85,6 +85,12 @@
<description></description>
<servlet-class>at.gv.egiz.pdfas.web.servlets.DataURLServlet</servlet-class>
</servlet>
+ <servlet>
+ <servlet-name>SLDataURLServlet</servlet-name>
+ <display-name>SLDataURLServlet</display-name>
+ <description></description>
+ <servlet-class>at.gv.egiz.pdfas.web.servlets.SLDataURLServlet</servlet-class>
+ </servlet>
<servlet>
<servlet-name>VisBlockServlet</servlet-name>
<display-name>VisBlockServlet</display-name>
@@ -185,6 +191,10 @@
<url-pattern>/DataURL</url-pattern>
</servlet-mapping>
<servlet-mapping>
+ <servlet-name>SLDataURLServlet</servlet-name>
+ <url-pattern>/DataURLSL20</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
<servlet-name>VerifyServlet</servlet-name>
<url-pattern>/Verify</url-pattern>
</servlet-mapping>
diff --git a/pdf-as-web/src/main/webapp/index.jsp b/pdf-as-web/src/main/webapp/index.jsp
index de41028b..c07b2cc0 100644
--- a/pdf-as-web/src/main/webapp/index.jsp
+++ b/pdf-as-web/src/main/webapp/index.jsp
@@ -37,6 +37,17 @@
<%
}
%>
+
+ <%
+ if (WebConfiguration.getSecurityLayer20URL() != null) {
+ %>
+ <button type="submit" value="sl20" name="connector" id="sl20backend">SL2.0 Interface</button>
+ <label for="placeholder_web_id">Placeholder ID</label>
+ <input type="text" id="placeholder_web_id" name="placeholder_web_id">
+ <%
+ }
+ %>
+
<%
if (WebConfiguration.getKeystoreDefaultEnabled()) {
%>