[java-opensaml] branch master updated: Pair input to function is missing ctor args.

Brent Putman putmanb at georgetown.edu
Fri Dec 13 19:12:41 EST 2019


This is an automated email from the git hooks/post-receive script.

putmanb pushed a commit to branch master
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=563973816e16e19e787349191f266431f6292677

The following commit(s) were added to refs/heads/master by this push:
       new  5639738   Pair input to function is missing ctor args.
5639738 is described below

commit 563973816e16e19e787349191f266431f6292677
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Fri Dec 13 19:09:57 2019 -0500

    Pair input to function is missing ctor args.
---
 .../messaging/impl/DefaultSAML20AssertionValidationContextBuilder.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/wssecurity/messaging/impl/DefaultSAML20AssertionValidationContextBuilder.java b/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/wssecurity/messaging/impl/DefaultSAML20AssertionValidationContextBuilder.java
index 0ef8af3..59c596a 100644
--- a/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/wssecurity/messaging/impl/DefaultSAML20AssertionValidationContextBuilder.java
+++ b/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/wssecurity/messaging/impl/DefaultSAML20AssertionValidationContextBuilder.java
@@ -194,7 +194,7 @@ public class DefaultSAML20AssertionValidationContextBuilder
         
         if (getSignatureCriteriaSetFunction() != null) {
             final CriteriaSet dynamicCriteria = getSignatureCriteriaSetFunction().apply(
-                    new Pair<MessageContext, Assertion>());
+                    new Pair<>(input.getMessageContext(), input.getAssertion()));
             if (dynamicCriteria != null) {
                 criteriaSet.addAll(dynamicCriteria);
             }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list