You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by gi...@apache.org on 2023/09/07 11:57:15 UTC

[directory-site] branch asf-site updated: Updated site from master (7bc1eb111b1e82a8c5d43b1168c631e84335960c)

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/directory-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 4aaed695 Updated site from master (7bc1eb111b1e82a8c5d43b1168c631e84335960c)
4aaed695 is described below

commit 4aaed6958a501c76a6f9a44a81a66eb113c7a368
Author: jenkins <bu...@apache.org>
AuthorDate: Thu Sep 7 11:57:10 2023 +0000

    Updated site from master (7bc1eb111b1e82a8c5d43b1168c631e84335960c)
---
 content/fortress/index.xml                         | 20 ++++++++++
 content/fortress/user-guide.html                   |  4 +-
 .../user-guide/4-fortress-code-samples.html        |  8 +++-
 .../fortress/user-guide/4.23-create-ssd-set.html   |  2 +-
 .../fortress/user-guide/4.25-create-dsd-set.html   |  2 +-
 .../fortress/user-guide/4.27-add-ssd-member.html   |  2 +-
 .../user-guide/4.28-delete-ssd-member.html         |  2 +-
 .../fortress/user-guide/4.29-add-dsd-member.html   |  2 +-
 .../user-guide/4.30-delete-dsd-member.html         |  8 ++--
 ...d-member.html => 4.31-set-ssd-cardinality.html} | 44 +++++++++-------------
 ...d-member.html => 4.32-set-dsd-cardinality.html} | 42 +++++++++------------
 content/index.xml                                  | 20 ++++++++++
 content/sitemap.xml                                | 28 +++++++++-----
 13 files changed, 112 insertions(+), 72 deletions(-)

diff --git a/content/fortress/index.xml b/content/fortress/index.xml
index fea20318..b9eed5f8 100644
--- a/content/fortress/index.xml
+++ b/content/fortress/index.xml
@@ -417,6 +417,26 @@ The command is valid if and only if:
  The DSD role set exists. The role to be removed is a member of the DSD role set. The cardinality associated with the DSD role set is less than the number of elements of the DSD role set.</description>
     </item>
     
+    <item>
+      <title>4.31 - Set Static Separation of Duty Set Cardinality</title>
+      <link>https://directory.apache.org/fortress/user-guide/4.31-set-ssd-cardinality.html</link>
+      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+      
+      <guid>https://directory.apache.org/fortress/user-guide/4.31-set-ssd-cardinality.html</guid>
+      <description>4.31 - Set Static Separation of Duty (SSD) Set Cardinality SDSet setSsdSetCardinality( SDSet ssdSet, int cardinality ) throws SecurityException; This command sets the cardinality associated with a given SSD role set.
+ The new cardinality is a natural number greater than or equal to 2 and less than or equal to the number of elements of the SSD role set. The SSD constraint is satisfied after setting the new cardinality. Affects admin time role assignments.</description>
+    </item>
+    
+    <item>
+      <title>4.32 - Set Dynamic Separation of Duty Set Cardinality</title>
+      <link>https://directory.apache.org/fortress/user-guide/4.32-set-dsd-cardinality.html</link>
+      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+      
+      <guid>https://directory.apache.org/fortress/user-guide/4.32-set-dsd-cardinality.html</guid>
+      <description>4.33 - Set Dynamic Separation of Duty (DSD) Set Cardinality SDSet setDsdSetCardinality( SDSet dsdSet, int cardinality ) throws SecurityException; This command sets the cardinality associated with a given DSD role set.
+ The new cardinality is a natural number greater than or equal to 2 and less than or equal to the number of elements of the DSD role set. The DSD constraint is satisfied after setting the new cardinality. Affects (runtime) role activations.</description>
+    </item>
+    
     <item>
       <title>4.4 - Add Active Role</title>
       <link>https://directory.apache.org/fortress/user-guide/4.4-activate-role.html</link>
diff --git a/content/fortress/user-guide.html b/content/fortress/user-guide.html
index a1987c25..79bd115a 100644
--- a/content/fortress/user-guide.html
+++ b/content/fortress/user-guide.html
@@ -191,13 +191,13 @@
 <li><a href="user-guide/4.28-delete-ssd-member.html">4.28 - Delete Static Separation of Duty Set Member </a></li>
 <li><a href="user-guide/4.29-add-dsd-member.html">4.29 - Add Dynamic Separation of Duty Set Member </a></li>
 <li><a href="user-guide/4.30-delete-dsd-member.html">4.30 - Delete Dynamic Separation of Duty Set Member </a></li>
+<li><a href="user-guide/4.31-set-ssd-cardinality.md">4.31 - Set Static Separation of Duty Set Cardinality</a></li>
+<li><a href="user-guide/4.32-set-dsd-cardinality.md">4.32 - Set Dynamic Separation of Duty Set Cardinality</a></li>
 </ul>
 </li>
 <li>
 <p>TODO: (more code samples):</p>
 <ul>
-<li>[4.31 - setSsdSetCardinality]</li>
-<li>[4.32 - setDsdSetCardinality]</li>
 <li>[4.33 - addRoleConstraint]</li>
 <li>[4.34 - removeRoleConstraint]</li>
 <li>&hellip;</li>
diff --git a/content/fortress/user-guide/4-fortress-code-samples.html b/content/fortress/user-guide/4-fortress-code-samples.html
index 171b9c67..35c1c7f5 100644
--- a/content/fortress/user-guide/4-fortress-code-samples.html
+++ b/content/fortress/user-guide/4-fortress-code-samples.html
@@ -248,10 +248,14 @@
 <p><a href="4.30-delete-dsd-member.html">4.30 - Delete Dynamic Separation of Duty Set Member </a></p>
 </li>
 <li>
+<p><a href="4.31-set-ssd-cardinality.md">4.31 - Set Static Separation of Duty Set Cardinality</a></p>
+</li>
+<li>
+<p><a href="4.32-set-dsd-cardinality.md">4.32 - Set Dynamic Separation of Duty Set Cardinality</a></p>
+</li>
+<li>
 <p>TODO: (more code samples):</p>
 <ul>
-<li>[4.31 - setSsdSetCardinality]</li>
-<li>[4.32 - setDsdSetCardinality]</li>
 <li>[4.33 - addRoleConstraint]</li>
 <li>[4.34 - removeRoleConstraint]</li>
 <li>&hellip;</li>
diff --git a/content/fortress/user-guide/4.23-create-ssd-set.html b/content/fortress/user-guide/4.23-create-ssd-set.html
index a0c30cfe..3778b2a5 100644
--- a/content/fortress/user-guide/4.23-create-ssd-set.html
+++ b/content/fortress/user-guide/4.23-create-ssd-set.html
@@ -167,7 +167,7 @@
 <p>This method:</p>
 <ul>
 <li>Adds new SSD set.</li>
-<li>affects admin time role assignments.</li>
+<li>Affects admin time role assignments.</li>
 </ul>
 <p>required parameters:</p>
 <ul>
diff --git a/content/fortress/user-guide/4.25-create-dsd-set.html b/content/fortress/user-guide/4.25-create-dsd-set.html
index 06ab9d38..d7bc5de1 100644
--- a/content/fortress/user-guide/4.25-create-dsd-set.html
+++ b/content/fortress/user-guide/4.25-create-dsd-set.html
@@ -167,7 +167,7 @@
 <p>This method:</p>
 <ul>
 <li>Adds new DSD set.</li>
-<li>affects (runtime) role activations.</li>
+<li>Affects (runtime) role activations.</li>
 </ul>
 <p>required parameters:</p>
 <ul>
diff --git a/content/fortress/user-guide/4.27-add-ssd-member.html b/content/fortress/user-guide/4.27-add-ssd-member.html
index 2a40ac3d..8b7f8ffb 100644
--- a/content/fortress/user-guide/4.27-add-ssd-member.html
+++ b/content/fortress/user-guide/4.27-add-ssd-member.html
@@ -166,7 +166,7 @@
 <p>This method:</p>
 <ul>
 <li>Adds a member to an existing SSD set.</li>
-<li>affects admin time role assignments.</li>
+<li>Affects admin time role assignments.</li>
 </ul>
 <p>required parameters:</p>
 <ul>
diff --git a/content/fortress/user-guide/4.28-delete-ssd-member.html b/content/fortress/user-guide/4.28-delete-ssd-member.html
index b7615a40..a9869bb6 100644
--- a/content/fortress/user-guide/4.28-delete-ssd-member.html
+++ b/content/fortress/user-guide/4.28-delete-ssd-member.html
@@ -166,7 +166,7 @@
 <p>This method:</p>
 <ul>
 <li>Removes a member from an existing SSD set.</li>
-<li>affects admin time role assignments.</li>
+<li>Affects admin time role assignments.</li>
 </ul>
 <p>required parameters:</p>
 <ul>
diff --git a/content/fortress/user-guide/4.29-add-dsd-member.html b/content/fortress/user-guide/4.29-add-dsd-member.html
index c8321ce1..7b2545a0 100644
--- a/content/fortress/user-guide/4.29-add-dsd-member.html
+++ b/content/fortress/user-guide/4.29-add-dsd-member.html
@@ -166,7 +166,7 @@
 <p>This method:</p>
 <ul>
 <li>Adds a member to an existing DSD set.</li>
-<li>affects (runtime) role activations.</li>
+<li>Affects (runtime) role activations.</li>
 </ul>
 <p>required parameters:</p>
 <ul>
diff --git a/content/fortress/user-guide/4.30-delete-dsd-member.html b/content/fortress/user-guide/4.30-delete-dsd-member.html
index 7f7dcc18..28c3d2f0 100644
--- a/content/fortress/user-guide/4.30-delete-dsd-member.html
+++ b/content/fortress/user-guide/4.30-delete-dsd-member.html
@@ -145,7 +145,8 @@
         </div>
         <div class="nav_next">
             
-                &nbsp;
+                
+                <a href="4.31-set-ssd-cardinality.html">4.31 - Set SSD Set Cardinality</a>
             
         </div>
         <div class="clearfix"></div>
@@ -165,7 +166,7 @@
 <p>This method:</p>
 <ul>
 <li>Removes a member from an existing DSD set.</li>
-<li>affects (runtime) role activations.</li>
+<li>Affects (runtime) role activations.</li>
 </ul>
 <p>required parameters:</p>
 <ul>
@@ -222,7 +223,8 @@
         </div>
         <div class="nav_next">
             
-                &nbsp;
+                
+                <a href="4.31-set-ssd-cardinality.html">4.31 - Set SSD Set Cardinality</a>
             
         </div>
         <div class="clearfix"></div>
diff --git a/content/fortress/user-guide/4.27-add-ssd-member.html b/content/fortress/user-guide/4.31-set-ssd-cardinality.html
similarity index 78%
copy from content/fortress/user-guide/4.27-add-ssd-member.html
copy to content/fortress/user-guide/4.31-set-ssd-cardinality.html
index 2a40ac3d..f8ef642a 100644
--- a/content/fortress/user-guide/4.27-add-ssd-member.html
+++ b/content/fortress/user-guide/4.31-set-ssd-cardinality.html
@@ -3,7 +3,7 @@
 <html lang="en">
 <head>
     <meta charset="utf-8">
-    <title>4.27 - Add Static Separation of Duty Set Member &mdash; Apache Directory</title>
+    <title>4.31 - Set Static Separation of Duty Set Cardinality &mdash; Apache Directory</title>
 
     <link href="/css/common.css" rel="stylesheet" type="text/css"/>
     <link href="/css/turquoise.css" rel="stylesheet" type="text/css"/>
@@ -134,7 +134,7 @@
         <div class="nav_prev">
             
                 
-                <a href="4.26-delete-dsd-set.html">4.26 - Delete a Dynamic Separation of Duty Set</a>
+                <a href="4.30-delete-dsd-member.html">4.30 - Delete a DSD Set Member</a>
             
         </div>
         <div class="nav_up">
@@ -146,7 +146,7 @@
         <div class="nav_next">
             
                 
-                <a href="4.28-delete-ssd-member.html">4.28 - Delete SSD Set Member</a>
+                <a href="4.32-set-dsd-cardinality.html">4.32 - Set DSD Set Cardinality</a>
             
         </div>
         <div class="clearfix"></div>
@@ -154,50 +154,42 @@
 
 
             
-	<h1 id="427---add-static-separation-of-duty-ssd-set-member">4.27 - Add Static Separation of Duty (SSD) Set Member</h1>
-<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">SDSet <span style="color:#00a000">addSsdRoleMember</span><span style="color:#666">(</span> SDSet ssdSet<span style="color:#666">,</span> Role role <span style="color:#666">)</span> <span style="color:#a2f;font-weight:bold">throws</span> SecurityException<span style="color:#666">;</span>
-</code></pre></div><p>This command adds a role to a named SSD set of roles. The cardinality associated with the role set remains unchanged.</p>
-<p>The command is valid if and only if:</p>
+	<h1 id="431---set-static-separation-of-duty-ssd-set-cardinality">4.31 - Set Static Separation of Duty (SSD) Set Cardinality</h1>
+<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">SDSet <span style="color:#00a000">setSsdSetCardinality</span><span style="color:#666">(</span> SDSet ssdSet<span style="color:#666">,</span> <span style="color:#0b0;font-weight:bold">int</span> cardinality <span style="color:#666">)</span> <span style="color:#a2f;font-weight:bold">throws</span> SecurityException<span style="color:#666">;</span>
+</code></pre></div><p>This command sets the cardinality associated with a given SSD role set.</p>
 <ul>
-<li>The SSD role set exists.</li>
-<li>The role to be added is a member of the ROLES data set but not of a member of the SSD role set.</li>
-<li>The SSD constraint for the new role set is satisfied.</li>
-</ul>
-<p>This method:</p>
-<ul>
-<li>Adds a member to an existing SSD set.</li>
-<li>affects admin time role assignments.</li>
+<li>The new cardinality is a natural number greater than or equal to 2 and less than or equal to the number of elements of the SSD role set.</li>
+<li>The SSD constraint is satisfied after setting the new cardinality.</li>
+<li>Affects admin time role assignments.</li>
 </ul>
 <p>required parameters:</p>
 <ul>
 <li>SDSet#name - contains the name for the Set to be modified.</li>
-<li>Type of SD Set - &lsquo;STATIC&rsquo; (automatically set via this method).</li>
-<li>Role#name - of new set member.</li>
+<li>cardinality - contains new cardinality setting for SSD.</li>
 </ul>
 <p>Throws:</p>
 <ul>
 <li>SecurityException - thrown in the event of data validation or system error.</li>
 </ul>
-<h2 id="addssdrolemember">addSsdRoleMember</h2>
+<h2 id="setssdsetcardinality">setSsdSetCardinality</h2>
 <div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java"><span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.AdminMgr</span><span style="color:#666">;</span>
 <span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.AdminMgrFactory</span><span style="color:#666">;</span>
 <span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.model.SDSet</span><span style="color:#666">;</span>
-<span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.model.Role</span><span style="color:#666">;</span>
 <span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.SecurityException</span><span style="color:#666">;</span>
 
 <span style="color:#a2f">@test</span>
-<span style="color:#a2f;font-weight:bold">public</span> <span style="color:#a2f;font-weight:bold">static</span> <span style="color:#0b0;font-weight:bold">void</span> <span style="color:#00a000">testAddSsdRoleMember</span><span style="color:#666">(</span><span style="color:#666">)</span>
+<span style="color:#a2f;font-weight:bold">public</span> <span style="color:#a2f;font-weight:bold">static</span> <span style="color:#0b0;font-weight:bold">void</span> <span style="color:#00a000">testSetSsdSetCardinality</span><span style="color:#666">(</span><span style="color:#666">)</span>
 <span style="color:#666">{</span>
-    String szLocation <span style="color:#666">=</span> <span style="color:#b44">&#34;.testAddSsdRoleMember&#34;</span><span style="color:#666">;</span>
+    String szLocation <span style="color:#666">=</span> <span style="color:#b44">&#34;.testSetSsdSetCardinality&#34;</span><span style="color:#666">;</span>
     <span style="color:#a2f;font-weight:bold">try</span>
     <span style="color:#666">{</span>
         AdminMgr adminMgr <span style="color:#666">=</span> AdminMgrFactory<span style="color:#666">.</span><span style="color:#b44">createInstance</span><span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span>
         SDSet inSsdSet <span style="color:#666">=</span> <span style="color:#a2f;font-weight:bold">new</span> SDSet<span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span>
         <span style="color:#080;font-style:italic">// existing set name:
 </span><span style="color:#080;font-style:italic"></span>        inSsdSet<span style="color:#666">.</span><span style="color:#b44">setName</span><span style="color:#666">(</span> <span style="color:#b44">&#34;mySsdSetName&#34;</span> <span style="color:#666">)</span><span style="color:#666">;</span>
-        <span style="color:#080;font-style:italic">// existing role name:
-</span><span style="color:#080;font-style:italic"></span>        Role inRole <span style="color:#666">-</span> <span style="color:#a2f;font-weight:bold">new</span> Role<span style="color:#666">(</span> <span style="color:#b44">&#34;role1&#34;</span> <span style="color:#666">)</span><span style="color:#666">;</span>
-        SDSet outSsdSet <span style="color:#666">=</span> am<span style="color:#666">.</span><span style="color:#b44">addSsdRoleMember</span><span style="color:#666">(</span> inSsdSet<span style="color:#666">,</span> inRole <span style="color:#666">)</span><span style="color:#666">;</span>
+        <span style="color:#080;font-style:italic">// a number &gt;= 2 and &lt;= number of elements of the SSD role set.
+</span><span style="color:#080;font-style:italic"></span>        <span style="color:#0b0;font-weight:bold">int</span> cardinality <span style="color:#666">=</span> 2<span style="color:#666">;</span>
+        SDSet outSsdSet <span style="color:#666">=</span> am<span style="color:#666">.</span><span style="color:#b44">setSsdSetCardinality</span><span style="color:#666">(</span> inSsdSet<span style="color:#666">,</span> cardinality <span style="color:#666">)</span><span style="color:#666">;</span>
     <span style="color:#666">}</span>
     <span style="color:#a2f;font-weight:bold">catch</span> <span style="color:#666">(</span>SecurityException ex<span style="color:#666">)</span>
     <span style="color:#666">{</span>
@@ -212,7 +204,7 @@
         <div class="nav_prev">
             
                 
-                <a href="4.26-delete-dsd-set.html">4.26 - Delete a Dynamic Separation of Duty Set</a>
+                <a href="4.30-delete-dsd-member.html">4.30 - Delete a DSD Set Member</a>
             
         </div>
         <div class="nav_up">
@@ -224,7 +216,7 @@
         <div class="nav_next">
             
                 
-                <a href="4.28-delete-ssd-member.html">4.28 - Delete SSD Set Member</a>
+                <a href="4.32-set-dsd-cardinality.html">4.32 - Set DSD Set Cardinality</a>
             
         </div>
         <div class="clearfix"></div>
diff --git a/content/fortress/user-guide/4.30-delete-dsd-member.html b/content/fortress/user-guide/4.32-set-dsd-cardinality.html
similarity index 78%
copy from content/fortress/user-guide/4.30-delete-dsd-member.html
copy to content/fortress/user-guide/4.32-set-dsd-cardinality.html
index 7f7dcc18..89f4e9e1 100644
--- a/content/fortress/user-guide/4.30-delete-dsd-member.html
+++ b/content/fortress/user-guide/4.32-set-dsd-cardinality.html
@@ -3,7 +3,7 @@
 <html lang="en">
 <head>
     <meta charset="utf-8">
-    <title>4.30 - Delete Dynamic Separation of Duty Set Member &mdash; Apache Directory</title>
+    <title>4.32 - Set Dynamic Separation of Duty Set Cardinality &mdash; Apache Directory</title>
 
     <link href="/css/common.css" rel="stylesheet" type="text/css"/>
     <link href="/css/turquoise.css" rel="stylesheet" type="text/css"/>
@@ -134,7 +134,7 @@
         <div class="nav_prev">
             
                 
-                <a href="4.29-add-dsd-member.html">4.29 - Add Dynamic Separation of Duty Set Member</a>
+                <a href="4.31-set-ssd-set-cardinality.html">4.31 - Set SSD Set Member</a>
             
         </div>
         <div class="nav_up">
@@ -153,50 +153,42 @@
 
 
             
-	<h1 id="430---delete-dynamic-separation-of-duty-dsd-set-member">4.30 - Delete Dynamic Separation of Duty (DSD) Set Member</h1>
-<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">SDSet <span style="color:#00a000">deleteDsdRoleMember</span><span style="color:#666">(</span> SDSet ssdSet<span style="color:#666">,</span> Role role <span style="color:#666">)</span> <span style="color:#a2f;font-weight:bold">throws</span> SecurityException<span style="color:#666">;</span>
-</code></pre></div><p>This command removes a role from a named DSD set of roles. The cardinality associated with the role set remains unchanged.</p>
-<p>The command is valid if and only if:</p>
+	<h1 id="433---set-dynamic-separation-of-duty-dsd-set-cardinality">4.33 - Set Dynamic Separation of Duty (DSD) Set Cardinality</h1>
+<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">SDSet <span style="color:#00a000">setDsdSetCardinality</span><span style="color:#666">(</span> SDSet dsdSet<span style="color:#666">,</span> <span style="color:#0b0;font-weight:bold">int</span> cardinality <span style="color:#666">)</span> <span style="color:#a2f;font-weight:bold">throws</span> SecurityException<span style="color:#666">;</span>
+</code></pre></div><p>This command sets the cardinality associated with a given DSD role set.</p>
 <ul>
-<li>The DSD role set exists.</li>
-<li>The role to be removed is a member of the DSD role set.</li>
-<li>The cardinality associated with the DSD role set is less than the number of elements of the DSD role set.</li>
-</ul>
-<p>This method:</p>
-<ul>
-<li>Removes a member from an existing DSD set.</li>
-<li>affects (runtime) role activations.</li>
+<li>The new cardinality is a natural number greater than or equal to 2 and less than or equal to the number of elements of the DSD role set.</li>
+<li>The DSD constraint is satisfied after setting the new cardinality.</li>
+<li>Affects (runtime) role activations.</li>
 </ul>
 <p>required parameters:</p>
 <ul>
-<li>SDSet#name - contains the name of Set to be modified.</li>
-<li>Type of SD Set - &lsquo;DYNAMIC&rsquo; (automatically set via this method).</li>
-<li>Role#name - of set member targeted for removal.</li>
+<li>SDSet#name - contains the name for the Set to be modified.</li>
+<li>cardinality - contains new cardinality setting for DSD.</li>
 </ul>
 <p>Throws:</p>
 <ul>
 <li>SecurityException - thrown in the event of data validation or system error.</li>
 </ul>
-<h2 id="deletedsdrolemember">deleteDsdRoleMember</h2>
+<h2 id="setdsdsetcardinality">setDsdSetCardinality</h2>
 <div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java"><span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.AdminMgr</span><span style="color:#666">;</span>
 <span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.AdminMgrFactory</span><span style="color:#666">;</span>
 <span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.model.SDSet</span><span style="color:#666">;</span>
-<span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.model.Role</span><span style="color:#666">;</span>
 <span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.SecurityException</span><span style="color:#666">;</span>
 
 <span style="color:#a2f">@test</span>
-<span style="color:#a2f;font-weight:bold">public</span> <span style="color:#a2f;font-weight:bold">static</span> <span style="color:#0b0;font-weight:bold">void</span> <span style="color:#00a000">testDeleteDsdRoleMember</span><span style="color:#666">(</span><span style="color:#666">)</span>
+<span style="color:#a2f;font-weight:bold">public</span> <span style="color:#a2f;font-weight:bold">static</span> <span style="color:#0b0;font-weight:bold">void</span> <span style="color:#00a000">testSetDsdSetCardinality</span><span style="color:#666">(</span><span style="color:#666">)</span>
 <span style="color:#666">{</span>
-    String szLocation <span style="color:#666">=</span> <span style="color:#b44">&#34;.testDeleteDsdRoleMember&#34;</span><span style="color:#666">;</span>
+    String szLocation <span style="color:#666">=</span> <span style="color:#b44">&#34;.testSetDsdSetCardinality&#34;</span><span style="color:#666">;</span>
     <span style="color:#a2f;font-weight:bold">try</span>
     <span style="color:#666">{</span>
         AdminMgr adminMgr <span style="color:#666">=</span> AdminMgrFactory<span style="color:#666">.</span><span style="color:#b44">createInstance</span><span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span>
         SDSet inDsdSet <span style="color:#666">=</span> <span style="color:#a2f;font-weight:bold">new</span> SDSet<span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span>
         <span style="color:#080;font-style:italic">// existing set name:
 </span><span style="color:#080;font-style:italic"></span>        inDsdSet<span style="color:#666">.</span><span style="color:#b44">setName</span><span style="color:#666">(</span> <span style="color:#b44">&#34;myDsdSetName&#34;</span> <span style="color:#666">)</span><span style="color:#666">;</span>
-        <span style="color:#080;font-style:italic">// existing role name:
-</span><span style="color:#080;font-style:italic"></span>        Role inRole <span style="color:#666">-</span> <span style="color:#a2f;font-weight:bold">new</span> Role<span style="color:#666">(</span> <span style="color:#b44">&#34;role1&#34;</span> <span style="color:#666">)</span><span style="color:#666">;</span>
-        SDSet outDsdSet <span style="color:#666">=</span> am<span style="color:#666">.</span><span style="color:#b44">deleteDsdRoleMember</span><span style="color:#666">(</span> inDsdSet<span style="color:#666">,</span> inRole <span style="color:#666">)</span><span style="color:#666">;</span>
+        <span style="color:#080;font-style:italic">// a number &gt;= 2 and &lt;= number of elements of the DSD role set.
+</span><span style="color:#080;font-style:italic"></span>        <span style="color:#0b0;font-weight:bold">int</span> cardinality <span style="color:#666">=</span> 2<span style="color:#666">;</span>
+        SDSet outDsdSet <span style="color:#666">=</span> am<span style="color:#666">.</span><span style="color:#b44">setDsdSetCardinality</span><span style="color:#666">(</span> inDsdSet<span style="color:#666">,</span> cardinality <span style="color:#666">)</span><span style="color:#666">;</span>
     <span style="color:#666">}</span>
     <span style="color:#a2f;font-weight:bold">catch</span> <span style="color:#666">(</span>SecurityException ex<span style="color:#666">)</span>
     <span style="color:#666">{</span>
@@ -211,7 +203,7 @@
         <div class="nav_prev">
             
                 
-                <a href="4.29-add-dsd-member.html">4.29 - Add Dynamic Separation of Duty Set Member</a>
+                <a href="4.31-set-ssd-set-cardinality.html">4.31 - Set SSD Set Member</a>
             
         </div>
         <div class="nav_up">
diff --git a/content/index.xml b/content/index.xml
index bfeeeabd..55c30b52 100644
--- a/content/index.xml
+++ b/content/index.xml
@@ -2387,6 +2387,26 @@ The command is valid if and only if:
  The DSD role set exists. The role to be removed is a member of the DSD role set. The cardinality associated with the DSD role set is less than the number of elements of the DSD role set.</description>
     </item>
     
+    <item>
+      <title>4.31 - Set Static Separation of Duty Set Cardinality</title>
+      <link>https://directory.apache.org/fortress/user-guide/4.31-set-ssd-cardinality.html</link>
+      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+      
+      <guid>https://directory.apache.org/fortress/user-guide/4.31-set-ssd-cardinality.html</guid>
+      <description>4.31 - Set Static Separation of Duty (SSD) Set Cardinality SDSet setSsdSetCardinality( SDSet ssdSet, int cardinality ) throws SecurityException; This command sets the cardinality associated with a given SSD role set.
+ The new cardinality is a natural number greater than or equal to 2 and less than or equal to the number of elements of the SSD role set. The SSD constraint is satisfied after setting the new cardinality. Affects admin time role assignments.</description>
+    </item>
+    
+    <item>
+      <title>4.32 - Set Dynamic Separation of Duty Set Cardinality</title>
+      <link>https://directory.apache.org/fortress/user-guide/4.32-set-dsd-cardinality.html</link>
+      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+      
+      <guid>https://directory.apache.org/fortress/user-guide/4.32-set-dsd-cardinality.html</guid>
+      <description>4.33 - Set Dynamic Separation of Duty (DSD) Set Cardinality SDSet setDsdSetCardinality( SDSet dsdSet, int cardinality ) throws SecurityException; This command sets the cardinality associated with a given DSD role set.
+ The new cardinality is a natural number greater than or equal to 2 and less than or equal to the number of elements of the DSD role set. The DSD constraint is satisfied after setting the new cardinality. Affects (runtime) role activations.</description>
+    </item>
+    
     <item>
       <title>4.4 - Add Active Role</title>
       <link>https://directory.apache.org/fortress/user-guide/4.4-activate-role.html</link>
diff --git a/content/sitemap.xml b/content/sitemap.xml
index f4a0ecd1..9a668d3d 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -724,7 +724,7 @@
   
   <url>
     <loc>https://directory.apache.org/fortress/user-guide/4-fortress-code-samples.html</loc>
-    <lastmod>2023-09-07T02:35:03-05:00</lastmod>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
   </url>
   
   <url>
@@ -1114,7 +1114,7 @@
   
   <url>
     <loc>https://directory.apache.org/fortress/user-guide/4.23-create-ssd-set.html</loc>
-    <lastmod>2023-09-07T02:35:03-05:00</lastmod>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
   </url>
   
   <url>
@@ -1124,7 +1124,7 @@
   
   <url>
     <loc>https://directory.apache.org/fortress/user-guide/4.25-create-dsd-set.html</loc>
-    <lastmod>2023-09-07T02:35:03-05:00</lastmod>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
   </url>
   
   <url>
@@ -1134,17 +1134,17 @@
   
   <url>
     <loc>https://directory.apache.org/fortress/user-guide/4.27-add-ssd-member.html</loc>
-    <lastmod>2023-09-07T02:35:03-05:00</lastmod>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
   </url>
   
   <url>
     <loc>https://directory.apache.org/fortress/user-guide/4.28-delete-ssd-member.html</loc>
-    <lastmod>2023-09-07T02:35:03-05:00</lastmod>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
   </url>
   
   <url>
     <loc>https://directory.apache.org/fortress/user-guide/4.29-add-dsd-member.html</loc>
-    <lastmod>2023-09-07T02:35:03-05:00</lastmod>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
   </url>
   
   <url>
@@ -1159,7 +1159,17 @@
   
   <url>
     <loc>https://directory.apache.org/fortress/user-guide/4.30-delete-dsd-member.html</loc>
-    <lastmod>2023-09-07T02:45:05-05:00</lastmod>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
+  </url>
+  
+  <url>
+    <loc>https://directory.apache.org/fortress/user-guide/4.31-set-ssd-cardinality.html</loc>
+    <lastmod>2023-09-07T06:53:16-05:00</lastmod>
+  </url>
+  
+  <url>
+    <loc>https://directory.apache.org/fortress/user-guide/4.32-set-dsd-cardinality.html</loc>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
   </url>
   
   <url>
@@ -1974,7 +1984,7 @@
   
   <url>
     <loc>https://directory.apache.org/fortress.html</loc>
-    <lastmod>2023-09-07T02:48:59-05:00</lastmod>
+    <lastmod>2023-09-07T06:53:16-05:00</lastmod>
   </url>
   
   <url>
@@ -2479,7 +2489,7 @@
   
   <url>
     <loc>https://directory.apache.org/fortress/user-guide.html</loc>
-    <lastmod>2023-09-07T02:35:03-05:00</lastmod>
+    <lastmod>2023-09-07T06:51:26-05:00</lastmod>
   </url>
   
   <url>