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

security.msgSecurity.providers.jsf Maven / Gradle / Ivy

The newest version!





    
        $attribute{tableRowGroup});
            createMap(result="#{pageSession.attrsMap}");
            mapPut(map="#{pageSession.attrsMap}" key="target" value="#{pageSession.encodedConfigName}" );
            mapPut(map="#{pageSession.attrsMap}" key="layer" value="#{pageSession.encodedName}" );
            getSelectedSingleMapRows(TableRowGroup="${tableRowGroup}" selectedRows=>$attribute{selectedRows});
            foreach (var="row" list="${selectedRows}") {
                urlencode(value="#{row['name']}" encoding="UTF-8" result="#{pageSession.encodedProviderName}");
                setPageSessionAttribute(key="deleteUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.encodedConfigName}/security-service/message-security-config/#{pageSession.encodedName}/provider-config/#{pageSession.encodedProviderName}");
                gf.restRequest(endpoint="#{pageSession.deleteUrl}", attrs="#{pageSession.attrsMap}" method="DELETE");
            }
            gf.redirect(page="#{pageSession.listLink}");
        />
    



    
    $page{configName} default="server-config");
        getRequestValue(key="name" value="#{pageSession.Name}");
        urlencode(value="#{pageSession.Name}" encoding="UTF-8" result="#{pageSession.encodedName}");
        urlencode(value="#{pageSession.configName}" encoding="UTF-8" result="#{pageSession.encodedConfigName}");
        setSessionAttribute(key="msgSecurityTabs" value="providers");

        setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/security-service/message-security-config/#{pageSession.Name}");
        setPageSessionAttribute(key="childType" value="provider-config");

        setPageSessionAttribute(key="rest-api" value="true");
        
        gf.getChildList(parentEndpoint="#{pageSession.parentUrl}", childType="#{pageSession.childType}", id="providerId", result="#{requestScope.listOfRows}");

        addDefaultProviderInfo(providerList="#{requestScope.listOfRows}", configName="#{pageSession.configName}", msgSecurityName="#{pageSession.Name}");

        setPageSessionAttribute(key="confirmDeleteMsg" value="$resource{i18nc.msg.JS.confirmDeleteMsgProviders}");
        setPageSessionAttribute(key="createLink" value="#{request.contextPath}/common/security/msgSecurity/providerNew.jsf?msgSecurityName=#{pageSession.encodedName}&configName=#{pageSession.encodedConfigName}");
        setPageSessionAttribute(key="listLink" value="#{request.contextPath}/common/security/msgSecurity/providers.jsf?name=#{pageSession.encodedName}&configName=#{pageSession.encodedConfigName}");
        setPageSessionAttribute(key="editLink" value="#{request.contextPath}/common/security/msgSecurity/providerEdit.jsf");
        setPageSessionAttribute(key="tableTitle" value="$resource{i18nc.msgSecProvider.TableTitle}");
        setPageSessionAttribute(key="deleteKey" value="providerId");
        setPageSessionAttribute(key="disableNewButton" value="#{false}");

    />
    


#include "/common/shared/alertMsg.inc"
#include "msgSecurityTabs.inc"
     
		 
 
#include "/common/shared/configNameSection.inc"

     
         
             
         
     
 
 "

$page{tableId}); /> #include "providerTableButtons.inc" $page{tableRowGroupId}); />
//#include "/common/shared/changeButtonsJS.inc"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy