ImpersonateMenuAdvisorDefault

This default implementation of ImpersonateMenuAdvisor ; simply returns empty lists.

This has the effect that the org.apache.causeway.applib.services.user.ImpersonateMenu 's org.apache.causeway.applib.services.user.ImpersonateMenu.impersonateWithRoles#act(String, List, String) impersonateWithRoles action will be hidden.

API

ImpersonateMenuAdvisorDefault.java
class ImpersonateMenuAdvisorDefault {
  List<String> allUserNames()
  List<String> allRoleNames()
  List<String> roleNamesFor(String username)
  String multiTenancyTokenFor(String username)
}