by the AbstractSignableSAMLObject impl. Doing so results in redundant, duplicate References in the resulting signature.
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2350
ab3bd59b-922f-494d-bb5f-
6f0a3c29deca
if (log.isDebugEnabled()) {
log.debug("Signing assertion to relying party " + requestContext.getPeerEntityId());
}
- SAMLObjectContentReference contentRef = new SAMLObjectContentReference(assertion);
Signature signature = signatureBuilder.buildObject(Signature.DEFAULT_ELEMENT_NAME);
- signature.getContentReferences().add(contentRef);
signature.setSigningCredential(signatureCredential);
try {
if (log.isDebugEnabled()) {
log.debug("Signing assertion to relying party " + requestContext.getPeerEntityId());
}
- SAMLObjectContentReference contentRef = new SAMLObjectContentReference(assertion);
Signature signature = signatureBuilder.buildObject(Signature.DEFAULT_ELEMENT_NAME);
- signature.getContentReferences().add(contentRef);
signature.setSigningCredential(signatureCredential);
try {