All Downloads are FREE. Search and download functionalities are using the official Maven repository.

security.realms.manageUsers.jsf Maven / Gradle / Ivy

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