https://issues.apache.org/bugzilla/show_bug.cgi?id=45586


Satish Burnwal <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #5 from Satish Burnwal <[EMAIL PROTECTED]>  2008-09-16 22:30:48 PST 
---
I am little confused when you say pre-digested input. But looking at the code
in TransformEnvelopedSignature.java of xmlsec which is:

if (input.isElement()) {
                XMLSignatureInput result = new
XMLSignatureInput(input.getSubNode());
                result.setExcludeNode(signatureElement);
                result.setExcludeComments(input.isExcludeComments());
                return result;
         }

So excluding the sign elt and the comments, I get this:
<saml:Assertion AssertionID="b5b4e2ec57d9fb038ec1f45637bc8799" Id="id-6074555"
IssueInstant="2008-09-16T11:48:21.160Z" Issuer="SmartInternetTechnology"
MajorVersion="1" MinorVersion="1" xmlns="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"><Conditions
NotBefore="2008-09-16T11:48:20.800Z"
NotOnOrAfter="2008-09-16T12:48:20.800Z"/><AuthenticationStatement
AuthenticationInstant="2008-09-16T11:48:20.800Z"
AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password"><Subject><NameIdentifier
Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">arun</NameIdentifier><SubjectConfirmation><ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:holder-of-key</ConfirmationMethod></SubjectConfirmation></Subject></AuthenticationStatement><AttributeStatement><Subject><NameIdentifier
Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">arun</NameIdentifier><SubjectConfirmation><ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:holder-of-key</ConfirmationMethod></SubjectConfirmation></Subject><Attribute
AttributeName="telephone"
AttributeNamespace="telephoneNumber"><AttributeValue>a</AttributeValue></Attribute></AttributeStatement></saml:Assertion>

Of course, after applying the next transformation (exc14n), what is returned is
null which you is fine.

Am I still missing sth?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to