Esempio 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)
 {
 }
Esempio 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)
 {
 }
Esempio 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)
 {
 }
Esempio 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)
 {
 }