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/09 18:35:01 UTC
[directory-site] branch asf-site updated: Updated site from master (8c8e11def2d35eb92f0b9cff4904f5a4228479a6)
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 9e2b1efe Updated site from master (8c8e11def2d35eb92f0b9cff4904f5a4228479a6)
9e2b1efe is described below
commit 9e2b1efeb0385dbce0abfd36ffeb896c2c5eda71
Author: jenkins <bu...@apache.org>
AuthorDate: Sat Sep 9 18:34:58 2023 +0000
Updated site from master (8c8e11def2d35eb92f0b9cff4904f5a4228479a6)
---
content/fortress/index.xml | 6 +++---
content/fortress/user-guide/4.33-add-role-constraint.html | 6 +++---
content/fortress/user-guide/4.34-remove-role-constraint.html | 10 +++++-----
content/index.xml | 6 +++---
content/sitemap.xml | 6 +++---
5 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/content/fortress/index.xml b/content/fortress/index.xml
index e73eb8fb..897b7a50 100644
--- a/content/fortress/index.xml
+++ b/content/fortress/index.xml
@@ -436,8 +436,8 @@ The command is valid if and only if:
<guid>https://directory.apache.org/fortress/user-guide/4.33-add-role-constraint.html</guid>
<description>4.33 - Add Role Constraint RoleConstraint addRoleConstraint( UserRole uRole, RoleConstraint roleConstraint ) This method adds a role constraint to the user.
The function is valid if and only if:
- The user is a member of the USERS data set. The role is a member of the ROLES data set. The user is authorized to that role. Required Parameters:
- UserRole#userId - the userId for an existing User. UserRole#name - contains the name of a Role that user has already been assigned to a user.</description>
+ The user is a member of the USERS data set. The role is a member of the ROLES data set. The user is assigned to that role. Required Parameters:
+ UserRole#userId - the userId for an existing User. UserRole#name - contains the name of a Role assigned to the User.</description>
</item>
<item>
@@ -448,7 +448,7 @@ The function is valid if and only if:
<guid>https://directory.apache.org/fortress/user-guide/4.34-remove-role-constraint.html</guid>
<description>4.34 - Remove Role Constraint RoleConstraint removeRoleConstraint( UserRole uRole, RoleConstraint roleConstraint ) This method removes a role constraint from the user.
The function is valid if and only if:
- The user is a member of the USERS data set. The role is a member of the ROLES data set. The user is authorized to that role and has already had a constraint applied to it. Required Parameters:
+ The user is a member of the USERS data set. The role is a member of the ROLES data set. The user is assigned to the role and has a constraint applied to it. Required Parameters:
UserRole#userId - the userId for an existing User.</description>
</item>
diff --git a/content/fortress/user-guide/4.33-add-role-constraint.html b/content/fortress/user-guide/4.33-add-role-constraint.html
index d2936cbd..592ad14d 100644
--- a/content/fortress/user-guide/4.33-add-role-constraint.html
+++ b/content/fortress/user-guide/4.33-add-role-constraint.html
@@ -161,14 +161,14 @@
<ul>
<li>The user is a member of the USERS data set.</li>
<li>The role is a member of the ROLES data set.</li>
-<li>The user is authorized to that role.</li>
+<li>The user is assigned to that role.</li>
</ul>
<p>Required Parameters:</p>
<ul>
<li>UserRole#userId - the userId for an existing User.</li>
-<li>UserRole#name - contains the name of a Role that user has already been assigned to a user.</li>
+<li>UserRole#name - contains the name of a Role assigned to the User.</li>
<li>RoleConstraint#type - type of role constraint: [USER, FILTER, OTHER].</li>
-<li>RoleConstraint#key - the name of the attribute set this constraint is applicable for.</li>
+<li>RoleConstraint#key - the name of an attribute set targeted for the User-Role.</li>
<li>RoleConstraint#value - contains the value of the role constraint.</li>
</ul>
<p>Throws:</p>
diff --git a/content/fortress/user-guide/4.34-remove-role-constraint.html b/content/fortress/user-guide/4.34-remove-role-constraint.html
index f8b07aca..7246c5e0 100644
--- a/content/fortress/user-guide/4.34-remove-role-constraint.html
+++ b/content/fortress/user-guide/4.34-remove-role-constraint.html
@@ -160,14 +160,14 @@
<ul>
<li>The user is a member of the USERS data set.</li>
<li>The role is a member of the ROLES data set.</li>
-<li>The user is authorized to that role and has already had a constraint applied to it.</li>
+<li>The user is assigned to the role and has a constraint applied to it.</li>
</ul>
<p>Required Parameters:</p>
<ul>
<li>UserRole#userId - the userId for an existing User.</li>
-<li>UserRole#name - contains the name of a Role that user has already been assigned to a user.</li>
+<li>UserRole#name - contains the name of a Role assigned to the User.</li>
<li>RoleConstraint#type - type of role constraint: [USER, FILTER, OTHER].</li>
-<li>RoleConstraint#key - the name of the attribute set this constraint is applicable for.</li>
+<li>RoleConstraint#key - the name of an attribute set targeted for removal from the User-Role.</li>
<li>RoleConstraint#value - contains the value of the role constraint.</li>
</ul>
<p>Throws:</p>
@@ -182,9 +182,9 @@
<span style="color:#a2f;font-weight:bold">import</span> <span style="color:#00f;font-weight:bold">org.apache.directory.fortress.core.model.RoleConstraint</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">testAddRoleConstraint</span><span style="color:#666">(</span> User user<span style="color:#666">,</span> Role role <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">testRemoveRoleConstraint</span><span style="color:#666">(</span> User user<span style="color:#666">,</span> Role role <span style="color:#666">)</span>
<span style="color:#666">{</span>
- String szLocation <span style="color:#666">=</span> <span style="color:#b44">".testAddRoleConstraint"</span><span style="color:#666">;</span>
+ String szLocation <span style="color:#666">=</span> <span style="color:#b44">".testRemoveRoleConstraint"</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>
diff --git a/content/index.xml b/content/index.xml
index 42692bff..87d20c8c 100644
--- a/content/index.xml
+++ b/content/index.xml
@@ -2406,8 +2406,8 @@ The command is valid if and only if:
<guid>https://directory.apache.org/fortress/user-guide/4.33-add-role-constraint.html</guid>
<description>4.33 - Add Role Constraint RoleConstraint addRoleConstraint( UserRole uRole, RoleConstraint roleConstraint ) This method adds a role constraint to the user.
The function is valid if and only if:
- The user is a member of the USERS data set. The role is a member of the ROLES data set. The user is authorized to that role. Required Parameters:
- UserRole#userId - the userId for an existing User. UserRole#name - contains the name of a Role that user has already been assigned to a user.</description>
+ The user is a member of the USERS data set. The role is a member of the ROLES data set. The user is assigned to that role. Required Parameters:
+ UserRole#userId - the userId for an existing User. UserRole#name - contains the name of a Role assigned to the User.</description>
</item>
<item>
@@ -2418,7 +2418,7 @@ The function is valid if and only if:
<guid>https://directory.apache.org/fortress/user-guide/4.34-remove-role-constraint.html</guid>
<description>4.34 - Remove Role Constraint RoleConstraint removeRoleConstraint( UserRole uRole, RoleConstraint roleConstraint ) This method removes a role constraint from the user.
The function is valid if and only if:
- The user is a member of the USERS data set. The role is a member of the ROLES data set. The user is authorized to that role and has already had a constraint applied to it. Required Parameters:
+ The user is a member of the USERS data set. The role is a member of the ROLES data set. The user is assigned to the role and has a constraint applied to it. Required Parameters:
UserRole#userId - the userId for an existing User.</description>
</item>
diff --git a/content/sitemap.xml b/content/sitemap.xml
index 22c6cf65..454975a2 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -1174,12 +1174,12 @@
<url>
<loc>https://directory.apache.org/fortress/user-guide/4.33-add-role-constraint.html</loc>
- <lastmod>2023-09-09T13:20:41-05:00</lastmod>
+ <lastmod>2023-09-09T13:30:37-05:00</lastmod>
</url>
<url>
<loc>https://directory.apache.org/fortress/user-guide/4.34-remove-role-constraint.html</loc>
- <lastmod>2023-09-09T13:20:41-05:00</lastmod>
+ <lastmod>2023-09-09T13:32:13-05:00</lastmod>
</url>
<url>
@@ -1994,7 +1994,7 @@
<url>
<loc>https://directory.apache.org/fortress.html</loc>
- <lastmod>2023-09-09T13:20:41-05:00</lastmod>
+ <lastmod>2023-09-09T13:32:13-05:00</lastmod>
</url>
<url>