File tree Expand file tree Collapse file tree
src/main/java/com/onelogin/saml Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11target
2+ .idea
3+ java-saml.iml
Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >com.onelogin</groupId >
55 <artifactId >java-saml</artifactId >
6- <version >1.1</version >
6+ <version >1.1.1 </version >
77
88 <properties >
99 <slf4jVersion >1.7.12</slf4jVersion >
Original file line number Diff line number Diff line change @@ -478,8 +478,9 @@ private NodeList queryAssertion( String assertionXpath) throws XPathExpressionEx
478478 if (nodeList .getLength () > 0 ){
479479 Node assertionReferenceNode =nodeList .item (0 );
480480 String id = assertionReferenceNode .getAttributes ().getNamedItem ("URI" ).getNodeValue ().substring (1 );
481- nameQuery = "/samlp:Response[@ID='" + id +"']" + assertionXpath ;
482- }else {
481+ // nameQuery = "/samlp:Response[@ID='"+ id +"']" + assertionXpath;
482+ nameQuery = "/samlp:Response[@ID='" + id +"']/saml:Assertion" + assertionXpath ;
483+ }else {
483484 nameQuery = "/samlp:Response/saml:Assertion" + assertionXpath ;
484485 }
485486 }
You can’t perform that action at this time.
0 commit comments