Class SecuredNodeWorkerFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean

    public class SecuredNodeWorkerFactory
    extends NodeWorkerFactory
    implements org.springframework.beans.factory.InitializingBean
    A NodeWorkerFactory that considers the credentials that are provided in the given job context.
    Since:
    jadice server 4.3.1.0
    See Also:
    Job.getServerCredentials()
    • Constructor Detail

      • SecuredNodeWorkerFactory

        public SecuredNodeWorkerFactory()
    • Method Detail

      • setAccessDecisionManager

        public void setAccessDecisionManager​(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
        Parameters:
        accessDecisionManager - the accessDecisionManager to set
      • getAccessDecisionManager

        public org.springframework.security.access.AccessDecisionManager getAccessDecisionManager()
        Returns:
        the accessDecisionManager
      • setNodeAccessRules

        public void setNodeAccessRules​(List<RoleEnforcingRule> nodeAccessRules)
                                throws org.springframework.expression.ParseException
        Parameters:
        nodeAccessRules - the nodeAccessRules to set
        Throws:
        org.springframework.expression.ParseException
      • setNodeLimitRules

        public void setNodeLimitRules​(List<LimitEnforcingRule> nodeLimitRules)
                               throws org.springframework.expression.ParseException
        Throws:
        org.springframework.expression.ParseException
      • setJobLimitRules

        public void setJobLimitRules​(List<LimitEnforcingRule> jobLimitRules)
                              throws org.springframework.expression.ParseException
        Throws:
        org.springframework.expression.ParseException
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception