diff options
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java index 4ef8dc359..c61e2dd84 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java @@ -138,12 +138,18 @@ public class CreateXMLSignatureRequestBuilder implements Constants { request += "<html xmlns=\"http://www.w3.org/1999/xhtml\">"; request += "<head>"; request += "<title>Signatur der Anmeldedaten</title>"; - request += "<style type=\"text/css\" media=\"screen\">.boldstyle { font-weight: bold; } .italicstyle { font-style: italic; } .annotationstyle { font-size: small; } .graybground {background-color: #E0E0E0;}"; - request += ".titlestyle{ text-decoration:underline; font-weight:bold; font-family: Verdana; font-size: x-small; }"; - request += ".ernpstyle { font-size: x-small; }"; - request += ".h4style{ font-family: Verdana; }"; - request += "table.parameters { font-size: x-small; }"; + request += "<style type=\"text/css\" media=\"screen\">"; + request += ".normalstyle { font-size: medium; }"; + request += ".italicstyle { font-size: medium; font-style: italic; }"; + request += ".titlestyle{ text-decoration:underline; font-weight:bold; font-family: Verdana; font-size: medium; }"; + request += ".h4style{ font-size: large; font-family: Verdana; }"; request += "</style>"; + +// request += "<style type=\"text/css\" media=\"screen\">.boldstyle { font-weight: bold; } .italicstyle { font-style: italic; } .annotationstyle { font-size: small; } .graybground {background-color: #E0E0E0;}"; +// request += ".titlestyle{ text-decoration:underline; font-weight:bold; font-family: Verdana; font-size: x-small; }"; +// request += ".h4style{ font-family: Verdana; }"; +// request += "table.parameters { font-size: x-small; }"; +// request += "</style>"; request += "</head>"; request += "<body>"; request += "<h4 class=\"h4style\">Authentication Data:</h4>"; @@ -151,7 +157,7 @@ public class CreateXMLSignatureRequestBuilder implements Constants { request += "<table class=\"parameters\">"; request += "<tr>"; request += "<td class=\"italicstyle\">Name:</td>"; - request += "<td>"; + request += "<td class=\"normalstyle\">"; request += subject; request += "</td>"; request += "</tr>"; @@ -160,21 +166,21 @@ public class CreateXMLSignatureRequestBuilder implements Constants { request += "<table class=\"parameters\">"; request += "<tr>"; request += "<td class=\"italicstyle\">Name:</td>"; - request += "<td>"; + request += "<td class=\"normalstyle\">"; // friendlyname from OA request += StringUtils.isEmpty(oaParam.getFriendlyName()) ? "" : oaParam.getFriendlyName(); request += "</td>"; request += "</tr>"; request += "<tr>"; request += "<td class=\"italicstyle\">Country:</td>"; - request += "<td>Austria</td>"; + request += "<td class=\"normalstyle\">Austria</td>"; request += "</tr>"; request += "</table>"; request += "<p class=\"titlestyle\">Technical Parameters</p>"; request += "<table class=\"parameters\">"; request += "<tr>"; request += "<td class=\"italicstyle\">URL:</td>"; - request += "<td>"; + request += "<td class=\"normalstyle\">"; //public URL prefix from OA request += oaParam.getPublicURLPrefix(); request += "</td>"; @@ -188,7 +194,7 @@ public class CreateXMLSignatureRequestBuilder implements Constants { request += "<td class=\"italicstyle\">"; request += identifierType + ":"; request += "</td>"; - request += "<td>"; + request += "<td class=\"normalstyle\">"; request += identifier; request += "</td>"; request += "</tr>"; @@ -198,7 +204,7 @@ public class CreateXMLSignatureRequestBuilder implements Constants { request += "<tr>"; request += "<td class=\"italicstyle\">"; request += "Sector:</td>"; - request += "<td>"; + request += "<td class=\"normalstyle\">"; request += target + " (" + sectorName + ")"; request += "</td>"; request += "</tr>"; @@ -207,19 +213,19 @@ public class CreateXMLSignatureRequestBuilder implements Constants { request += "<tr>"; request += "<td class=\"italicstyle\">Date:</td>"; - request += "<td>"; + request += "<td class=\"normalstyle\">"; request += date; request += "</td>"; request += "</tr>"; request += "<tr>"; request += "<td class=\"italicstyle\">Time:</td>"; - request += "<td>"; + request += "<td class=\"normalstyle\">"; request += time; request += "</td>"; request += "</tr>"; request += "</table>"; - request += "<p class=\"ernpstyle\">I hereby request to access this e-government application by using my " + + request += "<p class=\"normalstyle\">I hereby request to access this e-government application by using my " + "domestic electronic identity. <br/>" + "I further affirm that I am not yet registered with the Austrian Central " + "Residents Registry and that I am not obliged to register with the Austrian " + |