Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XacmlPolicy"/> class.
 /// </summary>
 /// <param name="ruleCombiningAlgId">The rule combining algorithm identifier.</param>
 /// <param name="target">The target.</param>
 public XacmlPolicy(Uri ruleCombiningAlgId, XacmlTarget target)
     : this(XacmlUtils.GeneratePolicyId(), ruleCombiningAlgId, target)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XacmlPolicySet"/> class.
 /// </summary>
 /// <param name="policyCombiningAlgId">The policy combining alg identifier.</param>
 /// <param name="target">The target.</param>
 public XacmlPolicySet(Uri policyCombiningAlgId, XacmlTarget target)
     : this(XacmlUtils.GeneratePolicySetId(), policyCombiningAlgId, target)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XacmlObligation"/> class.
 /// </summary>
 /// <param name="fulfillOn">The fulfill on.</param>
 /// <param name="attributeAssigments">The attribute assigments.</param>
 /// <remarks>
 /// Used only for XACML 1.0/1.1/2.0
 /// </remarks>
 public XacmlObligation(XacmlEffectType fulfillOn, IEnumerable <XacmlAttributeAssignment> attributeAssigments)
     : this(XacmlUtils.GenerateObligationId(), fulfillOn, attributeAssigments)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XacmlRule"/> class.
 /// </summary>
 /// <param name="effect">The rule effect.</param>
 public XacmlRule(XacmlEffectType effect)
     : this(XacmlUtils.GenerateRuleId(), effect)
 {
 }