[java-opensaml COMMIT] in /trunk/opensaml-saml-impl/src: main/resources/templates/saml1-post-binding.vm main/resource...

noreply at shibboleth.net noreply at shibboleth.net
Fri Feb 6 20:22:09 EST 2015


Author: putmanb
Date: Fri Feb  6 20:22:08 2015
New Revision: 4214

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4214&view=rev
Log:
OSJ-98: HTML 5 Conformance for SAML POST Views

Modified:
    trunk/opensaml-saml-impl/src/main/resources/templates/saml1-post-binding.vm
    trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-artifact-binding.vm
    trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-binding.vm
    trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-simplesign-binding.vm
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPPostEncoderTest.java
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostEncoderTest.java
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostSimpleSignEncoderTest.java

Modified: trunk/opensaml-saml-impl/src/main/resources/templates/saml1-post-binding.vm
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/resources/templates/saml1-post-binding.vm?rev=4214&r1=4213&r2=4214&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/resources/templates/saml1-post-binding.vm (original)
+++ trunk/opensaml-saml-impl/src/main/resources/templates/saml1-post-binding.vm Fri Feb  6 20:22:08 2015
@@ -6,11 +6,13 @@
 ## binding - String - the SAML binding type in use
 ## TARGET - String - the relay state for the message
 ## SAMLResponse - String - the Base64 encoded SAML Response
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+##
+<!DOCTYPE html>
+<html>
 
     <head>
-    #parse ( "/templates/add-html-head-content.vm" )
+        <meta charset="utf-8" />
+        #parse ( "/templates/add-html-head-content.vm" )
     </head>
 
     <body onload="document.forms[0].submit()">

Modified: trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-artifact-binding.vm
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-artifact-binding.vm?rev=4214&r1=4213&r2=4214&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-artifact-binding.vm (original)
+++ trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-artifact-binding.vm Fri Feb  6 20:22:08 2015
@@ -6,13 +6,12 @@
 ## binding - String - the SAML binding type in use
 ## RelayState - String - the relay state for the message
 ## SAMLArt - String - SAML 2 artifact
-
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+##
+<!DOCTYPE html>
+<html>
     <head>
-    #parse ( "/templates/add-html-head-content.vm" )
+        <meta charset="utf-8" />
+        #parse ( "/templates/add-html-head-content.vm" )
     </head>
     <body onload="document.forms[0].submit()">
         <noscript>

Modified: trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-binding.vm
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-binding.vm?rev=4214&r1=4213&r2=4214&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-binding.vm (original)
+++ trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-binding.vm Fri Feb  6 20:22:08 2015
@@ -7,10 +7,12 @@
 ## RelayState - String - the relay state for the message
 ## SAMLRequest - String - the Base64 encoded SAML Request
 ## SAMLResponse - String - the Base64 encoded SAML Response
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+##
+<!DOCTYPE html>
+<html>
     <head>
-    #parse ( "/templates/add-html-head-content.vm" )
+        <meta charset="utf-8" />
+        #parse ( "/templates/add-html-head-content.vm" )
     </head>
     <body onload="document.forms[0].submit()">
         <noscript>

Modified: trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-simplesign-binding.vm
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-simplesign-binding.vm?rev=4214&r1=4213&r2=4214&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-simplesign-binding.vm (original)
+++ trunk/opensaml-saml-impl/src/main/resources/templates/saml2-post-simplesign-binding.vm Fri Feb  6 20:22:08 2015
@@ -10,10 +10,12 @@
 ## Signature - String - the Base64 encoded simple signature
 ## SigAlg - String - the signature algorithm URI
 ## KeyInfo - String - the Base64 encoded ds:KeyInfo (optional)
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+##
+<!DOCTYPE html>
+<html>
     <head>
-    #parse ( "/templates/add-html-head-content.vm" )
+        <meta charset="utf-8" />

[... 67 lines stripped ...]


More information about the commits mailing list