You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2024/10/04 10:30:55 UTC
(syncope) branch master updated (e41b08d4a7 -> 5d1f4cf9f7)
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
from e41b08d4a7 Bump org.codehaus.gmavenplus:gmavenplus-plugin from 3.0.2 to 4.0.1 (#856)
new b9e6d95f36 Upgrading CAS
new 5d1f4cf9f7 [SYNCOPE-1828] check on null value (#857)
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../console/authprofiles/AuthProfileDirectoryPanel.java | 11 ++++++-----
pom.xml | 2 +-
2 files changed, 7 insertions(+), 6 deletions(-)
(syncope) 01/02: Upgrading CAS
Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
commit b9e6d95f368332625e7d526c228eb72a7d5872bc
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Oct 4 12:19:25 2024 +0200
Upgrading CAS
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 227ce8d16f..ae76206f9f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -437,7 +437,7 @@ under the License.
<pac4j.version>6.0.6</pac4j.version>
- <cas.version>7.1.0</cas.version>
+ <cas.version>7.1.1</cas.version>
<cas-client.version>4.0.4</cas-client.version>
<swagger-core.version>2.2.25</swagger-core.version>
(syncope) 02/02: [SYNCOPE-1828] check on null value (#857)
Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
commit 5d1f4cf9f780a57a368288ef7026979a3430f604
Author: Samuel Garofalo <72...@users.noreply.github.com>
AuthorDate: Fri Oct 4 12:26:37 2024 +0200
[SYNCOPE-1828] check on null value (#857)
---
.../console/authprofiles/AuthProfileDirectoryPanel.java | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/client/am/console/src/main/java/org/apache/syncope/client/console/authprofiles/AuthProfileDirectoryPanel.java b/client/am/console/src/main/java/org/apache/syncope/client/console/authprofiles/AuthProfileDirectoryPanel.java
index b243ce15f7..f6e02fe580 100644
--- a/client/am/console/src/main/java/org/apache/syncope/client/console/authprofiles/AuthProfileDirectoryPanel.java
+++ b/client/am/console/src/main/java/org/apache/syncope/client/console/authprofiles/AuthProfileDirectoryPanel.java
@@ -24,6 +24,7 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
+import org.apache.commons.collections4.CollectionUtils;
import org.apache.syncope.client.console.SyncopeConsoleSession;
import org.apache.syncope.client.console.authprofiles.AuthProfileDirectoryPanel.AuthProfileProvider;
import org.apache.syncope.client.console.commons.AMConstants;
@@ -127,7 +128,7 @@ public class AuthProfileDirectoryPanel
@Override
protected boolean isCondition(final IModel<AuthProfileTO> rowModel) {
- return !rowModel.getObject().getImpersonationAccounts().isEmpty();
+ return CollectionUtils.isNotEmpty(rowModel.getObject().getImpersonationAccounts());
}
});
columns.add(new BooleanConditionColumn<>(new StringResourceModel("googleMfaAuthTokens")) {
@@ -136,7 +137,7 @@ public class AuthProfileDirectoryPanel
@Override
protected boolean isCondition(final IModel<AuthProfileTO> rowModel) {
- return !rowModel.getObject().getGoogleMfaAuthTokens().isEmpty();
+ return CollectionUtils.isNotEmpty(rowModel.getObject().getGoogleMfaAuthTokens());
}
});
columns.add(new BooleanConditionColumn<>(new StringResourceModel("googleMfaAuthAccounts")) {
@@ -145,7 +146,7 @@ public class AuthProfileDirectoryPanel
@Override
protected boolean isCondition(final IModel<AuthProfileTO> rowModel) {
- return !rowModel.getObject().getGoogleMfaAuthAccounts().isEmpty();
+ return CollectionUtils.isNotEmpty(rowModel.getObject().getGoogleMfaAuthAccounts());
}
});
columns.add(new BooleanConditionColumn<>(new StringResourceModel("mfaTrustedDevices")) {
@@ -154,7 +155,7 @@ public class AuthProfileDirectoryPanel
@Override
protected boolean isCondition(final IModel<AuthProfileTO> rowModel) {
- return !rowModel.getObject().getMfaTrustedDevices().isEmpty();
+ return CollectionUtils.isNotEmpty(rowModel.getObject().getMfaTrustedDevices());
}
});
columns.add(new BooleanConditionColumn<>(new StringResourceModel("webAuthnAccount")) {
@@ -163,7 +164,7 @@ public class AuthProfileDirectoryPanel
@Override
protected boolean isCondition(final IModel<AuthProfileTO> rowModel) {
- return !rowModel.getObject().getWebAuthnDeviceCredentials().isEmpty();
+ return CollectionUtils.isNotEmpty(rowModel.getObject().getWebAuthnDeviceCredentials());
}
});