
security.realms.manageUsers.jsf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-common Show documentation
Show all versions of console-common Show documentation
This bundle contains common code that may be shared across plugins.
The newest version!
$page{configName} default="server-config");
getRequestValue(key="name" value=>$page{Name});
urlencode(value="#{pageSession.Name}" encoding="UTF-8" result="#{pageSession.encodedName}");
urlencode(value="#{pageSession.configName}" encoding="UTF-8" result="#{pageSession.encodedConfigName}");
//getFileUsers(Realm="#{Name}", configName="#{pageSession.configName}", result=>$attribute{listOfRows} );
gf.restRequest(endpoint="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/security-service/auth-realm/#{Name}/list-users?target=#{pageSession.encodedConfigName}",
method="get", result="#{requestScope.listUsersResult}");
setPageSessionAttribute(key="listOfRows", value="#{requestScope.listUsersResult.data.extraProperties.users}");
gf.restRequest(endpoint="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/admin-service/jmx-connector/system.json", method="get", result="#{requestScope.result}");
setPageSessionAttribute(key="AuthRealmName" value="#{requestScope.result.entity['authRealmName']");
if ("#{pageSession.Name}=#{pageSession.authRealm}"){
setPageSessionAttribute(key="tableTitle", value="$resource{i18nc.manageAdminUsers.TableTitle}")
setPageSessionAttribute(key="helpKey", value="$resource{help_common.manageAdminUsers}" )
}
if ("!(#{pageSession.Name}=#{pageSession.authRealm})"){
setPageSessionAttribute(key="tableTitle", value="$resource{i18nc.manageUsers.TableTitle}")
setPageSessionAttribute(key="helpKey", value="$resource{help_common.manageUsers}" )
}
/>
#include "/common/shared/alertMsg.inc"
#include "/common/shared/configNameSection.inc"
"
deselectMultipleButton="$boolean{true}"
deselectMultipleButtonOnClick="setTimeout('admingui.table.changeOneTableButton(\\\\\'#{pageSession.topActionGroup}\\\\\', \\\\\'#{pageSession.tableId}\\\\\');', 0)"
selectMultipleButton="$boolean{true}"
selectMultipleButtonOnClick="setTimeout('admingui.table.changeOneTableButton(\\\\\'#{pageSession.topActionGroup}\\\\\', \\\\\'#{pageSession.tableId}\\\\\');', 0)" >
$page{tableId});
/>
$page{topActionGroup});
/>
$attribute{tableRowGroup});
getSelectedSingleMapRows(TableRowGroup="${tableRowGroup}" selectedRows=>$attribute{selectedRows});
removeUser(Realm="#{pageSession.Name}", configName="#{pageSession.configName}", selectedRows="${selectedRows}");
gf.redirect(page="#{request.contextPath}/common/security/realms/manageUsers.jsf?name=#{pageSession.encodedName}&configName=#{pageSession.encodedConfigName}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
/>
$page{tableRowGroupId});
/>
#include "/common/shared/changeButtonsJS.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy