You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by mh...@apache.org on 2023/08/01 13:48:55 UTC
[causeway] branch upmaster created (now 154a4764b7)
This is an automated email from the ASF dual-hosted git repository.
mhesse pushed a change to branch upmaster
in repository https://gitbox.apache.org/repos/asf/causeway.git
at 154a4764b7 CAUSEWAY-3549: returning Username
This branch includes the following new commits:
new 154a4764b7 CAUSEWAY-3549: returning Username
The 1 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.
[causeway] 01/01: CAUSEWAY-3549: returning Username
Posted by mh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mhesse pushed a commit to branch upmaster
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 154a4764b7e33cbf03c0772092756e99e9c3322e
Author: mwhesse <mw...@gmail.com>
AuthorDate: Tue Aug 1 20:48:36 2023 +0700
CAUSEWAY-3549: returning Username
---
.../secman/integration/spiimpl/ImpersonateMenuAdvisorForSecman.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extensions/security/secman/integration/src/main/java/org/apache/causeway/extensions/secman/integration/spiimpl/ImpersonateMenuAdvisorForSecman.java b/extensions/security/secman/integration/src/main/java/org/apache/causeway/extensions/secman/integration/spiimpl/ImpersonateMenuAdvisorForSecman.java
index 4b5be54b5d..eecd526980 100644
--- a/extensions/security/secman/integration/src/main/java/org/apache/causeway/extensions/secman/integration/spiimpl/ImpersonateMenuAdvisorForSecman.java
+++ b/extensions/security/secman/integration/src/main/java/org/apache/causeway/extensions/secman/integration/spiimpl/ImpersonateMenuAdvisorForSecman.java
@@ -67,7 +67,7 @@ public class ImpersonateMenuAdvisorForSecman implements ImpersonateMenuAdvisor {
return cache.get().allUserNamesComputeIfAbsent(()->this.applicationUserRepository.allUsers()
.stream()
.filter(x -> x.getStatus() == ApplicationUserStatus.UNLOCKED)
- .map(ApplicationUser::getName)
+ .map(ApplicationUser::getUsername)
.collect(Collectors.toList()));
}