changeset 5942:92da396f80d7

Add trusted key for SAML authentication and configure it in web.xml.
author Bernhard Herzog <bh@intevation.de>
date Wed, 08 May 2013 17:56:14 +0200
parents c1806821860b
children a96350a1c160
files gwt-client/src/main/webapp/WEB-INF/saml-signer-cert.pem gwt-client/src/main/webapp/WEB-INF/web.xml
diffstat 2 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gwt-client/src/main/webapp/WEB-INF/saml-signer-cert.pem	Wed May 08 17:56:14 2013 +0200
@@ -0,0 +1,12 @@
+-----BEGIN CERTIFICATE-----
+MIICDzCCAXigAwIBAgIETQYOHzANBgkqhkiG9w0BAQUFADBMMQswCQYDVQQGEwJERTEQMA4GA1UE
+BxMHS29ibGVuejENMAsGA1UEChMEYmFmZzENMAsGA1UECxMEYmFmZzENMAsGA1UEAxMEYmFmZzAe
+Fw0xMDEyMTMxMjE0MjNaFw0xNTExMTcxMjE0MjNaMEwxCzAJBgNVBAYTAkRFMRAwDgYDVQQHEwdL
+b2JsZW56MQ0wCwYDVQQKEwRiYWZnMQ0wCwYDVQQLEwRiYWZnMQ0wCwYDVQQDEwRiYWZnMIGfMA0G
+CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDIg0iXqjbFVDCuwiHR06U8+8IZmTl5mVDeH34zjqcCWEKf
+T2W2VS9SJhxyjP+DGDfDS9obqEZkYi8i4kLe533e+CQBWKud5mCHguVEiydOkUpUo0En4jFk9DBb
+kEDK8HV/CFzc1zX/6UJWGI8QL4ewQWhfhJSN/aoWweo0Sjr7mQIDAQABMA0GCSqGSIb3DQEBBQUA
+A4GBALpDcIQ0s+qhP+WvSkiVYiyGS9lnJWkrTMY89Q8kWbeiLr3/YA2fAQFJDqZ1Q8JxgUwadzv9
+6DClAW+6nPCnx3zQuP+tV9jZwQ5MSykHtwK+GAIwpLktx88b3BtIEOvMQjACoaPt3Z/Epm+VYT72
+rrxc7eejd9GfGIrCi4q2j4/j
+-----END CERTIFICATE-----
--- a/gwt-client/src/main/webapp/WEB-INF/web.xml	Wed May 08 17:56:13 2013 +0200
+++ b/gwt-client/src/main/webapp/WEB-INF/web.xml	Wed May 08 17:56:14 2013 +0200
@@ -22,6 +22,11 @@
     </context-param>
 
     <context-param>
+        <param-name>saml-trusted-public-key</param-name>
+        <param-value>/WEB-INF/saml-signer-cert.pem</param-value>
+    </context-param>
+
+    <context-param>
         <param-name>features-file</param-name>
         <param-value>/WEB-INF/features.xml</param-value>
     </context-param>

http://dive4elements.wald.intevation.org