cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] gonzalad closed pull request #26: IDP maxParameter size is set only if positive
Date Thu, 01 Jan 1970 00:00:00 GMT
gonzalad closed pull request #26: IDP maxParameter size is set only if positive

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/service/jpa/
index 360755a7..ee5b052a 100644
--- a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/service/jpa/
+++ b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/service/jpa/
@@ -333,7 +333,10 @@ public static Idp entity2domain(IdpEntity entity, List<String>
expandList) {
-        idp.setMaxParameterSize(entity.getMaxParameterSize());
+        if (entity.getMaxParameterSize() > 0) {
+            idp.setMaxParameterSize(entity.getMaxParameterSize());
+        }
         if (expandList != null && (expandList.contains("all") || expandList.contains("applications")))
             for (ApplicationEntity item : entity.getApplications()) {


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message