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

security.security.jsf Maven / Gradle / Ivy






    
        $page{configName} default="server-config");
        setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/common/security/security.jsf?configName=#{pageSession.configName}");
        setPageSessionAttribute(key="childType" value="security-service");

        setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}");
        setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/security-service");
        setPageSessionAttribute(key="rest-api" value="true");
        gf.getEntityAttrs(endpoint="#{pageSession.selfUrl}.json", valueMap="#{pageSession.valueMap}");
        gf.restRequest(endpoint="#{pageSession.selfUrl}/property.json" method="GET" result="#{requestScope.propTable}");
        setPageSessionAttribute(key="tableList" value="#{requestScope.propTable.data.extraProperties.properties}");
        
        //For Security Manager
        setPageSessionAttribute(key="additionalSaveHandler" value="saveSecurityManagerValue");
        setPageSessionAttribute(key="additionalSaveHandlerArgs" value="value:%23{pageSession.securityManagerStatus},configName:%23{pageSession.configName}"); 
        setPageSessionAttribute(key="convertToFalseList" value={"auditEnabled","activateDefaultPrincipalToRoleMapping"})
        
        //set the following for including buttons.inc
        setPageSessionAttribute(key="edit" value="#{true}" );
        setPageSessionAttribute(key="showDefaultButton" value="#{false}" );
        setPageSessionAttribute(key="showCancelButton" value="#{false}" );
        setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
        setPageSessionAttribute(key="hasPropertyTable" value="#{true}" );
        />   
    
            
#include "/common/shared/alertMsg.inc"

        
        
#include "/common/shared/editPageButtons.inc"
        
#include "/common/security/securityAttrs.inc"
#include "/common/shared/propertyDescTable.inc"

	

#include "/common/shared/changeButtonsJS.inc"








© 2015 - 2025 Weber Informatics LLC | Privacy Policy