summaryrefslogtreecommitdiff
path: root/BKUApplet
diff options
context:
space:
mode:
Diffstat (limited to 'BKUApplet')
-rw-r--r--BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletSecureViewer.java4
-rw-r--r--BKUApplet/src/test/resources/DejaVuLGCSansMono.ttfbin0 -> 282704 bytes
-rw-r--r--BKUApplet/src/test/resources/appletTest.html6
3 files changed, 5 insertions, 5 deletions
diff --git a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletSecureViewer.java b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletSecureViewer.java
index 929cecb1..2e0cb331 100644
--- a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletSecureViewer.java
+++ b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletSecureViewer.java
@@ -185,13 +185,13 @@ public class AppletSecureViewer implements SecureViewer {
throw new Exception("No hashdata input for reference " + signedRefId + " provided by service");
}
if (log.isDebugEnabled()) {
- log.debug("Got HashDataInput " + signedRefId + " (" + mimeType + ";" + encoding + ")");
+ log.debug("Digesting reference " + signedRefId + " (" + mimeType + ";" + encoding + ")");
}
byte[] hashDataInputDigest = digest(hdi, signedDigestAlg);
if (log.isDebugEnabled()) {
- log.debug("Comparing digest values... ");
+ log.debug("Comparing digest to claimed digest value for reference " + signedRefId);
}
// log.warn("***************** DISABLED HASHDATA VERIFICATION");
if (!Arrays.equals(hashDataInputDigest, signedDigest)) {
diff --git a/BKUApplet/src/test/resources/DejaVuLGCSansMono.ttf b/BKUApplet/src/test/resources/DejaVuLGCSansMono.ttf
new file mode 100644
index 00000000..21647753
--- /dev/null
+++ b/BKUApplet/src/test/resources/DejaVuLGCSansMono.ttf
Binary files differ
diff --git a/BKUApplet/src/test/resources/appletTest.html b/BKUApplet/src/test/resources/appletTest.html
index 85834763..22495a32 100644
--- a/BKUApplet/src/test/resources/appletTest.html
+++ b/BKUApplet/src/test/resources/appletTest.html
@@ -21,7 +21,7 @@
<link rel="shortcut icon" href="img/chip16.ico" type="image/x-icon">
</head>
<body>
- <p>Run applet test with appletviewer -J-Djava.security.policy=appletviewer.policy appletTest.html</p>
+ <p>Run applet test with appletviewer (-J-d32) -J-Djava.security.policy=appletviewer.policy appletTest.html</p>
<applet code="at.gv.egiz.bku.online.applet.BKUApplet.class"
archive="../BKUApplet-1.2.8-SNAPSHOT.jar, commons-logging.jar , iaik_jce_me4se.jar"
width=190 height=130 name="moccaapplet" id="moccaapplet">
@@ -30,8 +30,8 @@
<!--param name="Background" value="jar:file:/home/clemens/workspace/mocca/BKUApplet/target/BKUApplet-1.0-SNAPSHOT.jar!/images/help.png"/-->
<!--param name="Background" value="http://localhost:3495/img/BackgroundChipperling.png"/-->
<param name="BackgroundColor" value="#ff0000"/>
- <param name="WSDL_URL" value="https://localhost:8080/stal?wsdl"/>
- <param name="HelpURL" value="http://apps.egiz.gv.at/bkuonline/help/"/>
+ <param name="WSDL_URL" value="http://localhost:8080/BKUOnline/stal?wsdl"/>
+ <param name="HelpURL" value="http://localhost:8080/BKUOnline/help/"/>
<param name="SessionId" value="TestSession"/>
<param name="RedirectURL" value="http://www.google.com/bkuResult"/>
<param name="RedirectTarget" value="_parent"/>