예제 #1
0
파일: Condition.cs 프로젝트: zszqwe/anycmd
        private void CreateSubjectAttributeDesignator(object sender, EventArgs args)
        {
            SubjectAttributeDesignatorElement att = new SubjectAttributeDesignatorElement(string.Empty, false, "TODO: Add attribute id", string.Empty, string.Empty, Xacml.XacmlVersion.Version11);

            TreeNodes.AttributeDesignator node = new TreeNodes.AttributeDesignator(att);

            tvwCondition.Nodes.Add(node);
            _condition.Arguments.Add(att);
        }
예제 #2
0
파일: Condition.cs 프로젝트: zszqwe/anycmd
        private void CreateSubjectAttributeDesignatorFromFunction(object sender, EventArgs args)
        {
            TreeNodes.FunctionExecution func        = (TreeNodes.FunctionExecution)tvwCondition.SelectedNode;
            pol.ApplyBaseReadWrite      parentApply = func.ApplyBaseDefinition;

            SubjectAttributeDesignatorElement att = new SubjectAttributeDesignatorElement(string.Empty, false, "TODO: Add attribute id", string.Empty, string.Empty, Xacml.XacmlVersion.Version11);

            TreeNodes.AttributeDesignator node = new TreeNodes.AttributeDesignator(att);

            func.Nodes.Add(node);
            parentApply.Arguments.Add(att);
        }
예제 #3
0
        private void CreateSubjectAttributeDesignatorFromFunction( object sender, EventArgs args )
        {
            TreeNodes.FunctionExecution func = (TreeNodes.FunctionExecution)tvwCondition.SelectedNode;
            pol.ApplyBaseReadWrite parentApply = func.ApplyBaseDefinition;

            SubjectAttributeDesignatorElement att = new SubjectAttributeDesignatorElement( string.Empty, false, "TODO: Add attribute id", string.Empty, string.Empty ,Xacml.XacmlVersion.Version11 );
            TreeNodes.AttributeDesignator node = new TreeNodes.AttributeDesignator( att );

            func.Nodes.Add( node );
            parentApply.Arguments.Add( att );
        }
예제 #4
0
        private void CreateSubjectAttributeDesignator( object sender, EventArgs args )
        {
            SubjectAttributeDesignatorElement att = new SubjectAttributeDesignatorElement( string.Empty, false, "TODO: Add attribute id", string.Empty, string.Empty ,Xacml.XacmlVersion.Version11 );
            TreeNodes.AttributeDesignator node = new TreeNodes.AttributeDesignator( att );

            tvwCondition.Nodes.Add( node );
            _condition.Arguments.Add( att );
        }