Exemple #1
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);
        }
Exemple #2
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);
        }
Exemple #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 );
        }
Exemple #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 );
        }