Setting constant to prevent the Xml namespace for xmldsig to be
defined multiple times within SessionTokens and AuthTokens. This should result in smaller token sizes.
This commit is contained in:
		| @@ -699,6 +699,10 @@ public final class SecureTokenUtil | |||||||
|          InputStream inStream = null; |          InputStream inStream = null; | ||||||
|          try |          try | ||||||
|          { |          { | ||||||
|  |             // Prevent the xml namespace for xmldsig from being | ||||||
|  |             // specified multiple times. | ||||||
|  |             Constants.setSignatureSpecNSprefix(""); | ||||||
|  |  | ||||||
|             // Get document from our template |             // Get document from our template | ||||||
|             inStream = new ByteArrayInputStream(m_secureTokenTemplate.getBytes()); |             inStream = new ByteArrayInputStream(m_secureTokenTemplate.getBytes()); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user