summaryrefslogtreecommitdiff
path: root/BKUApplet/src
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-11-13 15:13:21 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-11-13 15:13:21 +0000
commitb7dd29046e232e4d42623655efc28965cce942b8 (patch)
tree0939e64d925f108756207d6981ebf5d2dbe2a24a /BKUApplet/src
parent1b6da29d3871b51daa2a6dff9bb85c84cb8d3093 (diff)
downloadmocca-b7dd29046e232e4d42623655efc28965cce942b8.tar.gz
mocca-b7dd29046e232e4d42623655efc28965cce942b8.tar.bz2
mocca-b7dd29046e232e4d42623655efc28965cce942b8.zip
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@546 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUApplet/src')
-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"/>