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:
Juan Carlos Luciani 2007-06-12 19:43:48 +00:00
parent ad7a069507
commit 8481dd666c

View File

@ -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());