[java-opensaml] 02/02: OSJ-188: Enhance SignatureValidationFilter to make operation ...

Brent Putman putmanb at georgetown.edu
Wed Aug 21 18:48:46 EDT 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=d4b998f7cfb5fcfe1db25907468072312dcf00aa

commit d4b998f7cfb5fcfe1db25907468072312dcf00aa
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed Aug 21 18:18:52 2019 -0400

    OSJ-188: Enhance SignatureValidationFilter to make operation ...
    
    Disable Checkstyle CyclomaticComplexity violation.
---
 .../saml/metadata/resolver/filter/impl/SignatureValidationFilter.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/SignatureValidationFilter.java b/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/SignatureValidationFilter.java
index 8da0e40..07f91bd 100644
--- a/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/SignatureValidationFilter.java
+++ b/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/SignatureValidationFilter.java
@@ -359,6 +359,7 @@ public class SignatureValidationFilter implements MetadataFilter {
      * @throws FilterException thrown if an error occurs during the signature verification process
      *                          on the root EntitiesDescriptor specified
      */
+    // Checkstyle: CyclomaticComplexity OFF
     protected void processEntityGroup(@Nonnull final EntitiesDescriptor entitiesDescriptor,
             @Nonnull final MetadataFilterContext context, final boolean isRoot) throws FilterException {
 
@@ -421,6 +422,7 @@ public class SignatureValidationFilter implements MetadataFilter {
             entitiesDescriptor.getEntitiesDescriptors().removeAll(toRemove);
         }
     }
+    // Checkstyle: CyclomaticComplexity ON
     
     /**
      * Evaluate the signature on the signed metadata instance.

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


More information about the commits mailing list