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); }
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); }
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 ); }
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 ); }