This is an automated email from the ASF dual-hosted git repository.
gonzalad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git
The following commit(s) were added to refs/heads/master by this push:
new 10da51a IDP maxParameter size is set only if positive
10da51a is described below
commit 10da51a20d68b7891826f8f8a6168b3d2e5239e8
Author: gonzalad <[email protected]>
AuthorDate: Fri Nov 17 01:27:38 2017 +0100
IDP maxParameter size is set only if positive
maxParameter size should be set only if positive,
otherwise, we'll use default value.
---
.../org/apache/cxf/fediz/service/idp/service/jpa/IdpDAOJPAImpl.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/service/jpa/IdpDAOJPAImpl.java
b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/service/jpa/IdpDAOJPAImpl.java
index 360755a..ee5b052 100644
---
a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/service/jpa/IdpDAOJPAImpl.java
+++
b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/service/jpa/IdpDAOJPAImpl.java
@@ -333,7 +333,10 @@ public class IdpDAOJPAImpl implements IdpDAO {
idp.setRpSingleSignOutCleanupConfirmation(entity.isRpSingleSignOutCleanupConfirmation());
idp.setAutomaticRedirectToRpAfterLogout(entity.isAutomaticRedirectToRpAfterLogout());
idp.setDisableLogoutAddressValidation(entity.isDisableLogoutAddressValidation());
- 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()) {
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].