jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1594185 - in /jackrabbit/oak/trunk/oak-doc/src/site/markdown/security: privilege.md user.md user/membership.md
Date Tue, 13 May 2014 10:30:20 GMT
Author: angela
Date: Tue May 13 10:30:19 2014
New Revision: 1594185

URL: http://svn.apache.org/r1594185
Log:
OAK-301 : oak docu

Modified:
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/privilege.md
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user.md
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user/membership.md

Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/privilege.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/privilege.md?rev=1594185&r1=1594184&r2=1594185&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/privilege.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/privilege.md Tue May 13 10:30:19
2014
@@ -155,10 +155,6 @@ the security risk associated with it.
     // NOTE: workspace operation that doesn't require Session#save()
     privilegeManager.registerPrivilege(privilegeName, isAbstract, declaredAggregateNames);
 
-
-### Further Reading
-
-
 <!-- references -->
 [PrivilegeConfiguration]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeConfiguration.html
 [PrivilegeConstants]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeConstants.html

Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user.md?rev=1594185&r1=1594184&r2=1594185&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user.md Tue May 13 10:30:19 2014
@@ -228,7 +228,6 @@ The following configuration options are 
 | `PARAM_USER_PATH`                   | String  | "/rep:security/rep:authorizables/rep:users"
 |
 | `PARAM_GROUP_PATH`                  | String  | "/rep:security/rep:authorizables/rep:groups"
|
 | `PARAM_DEFAULT_DEPTH`               | int     | 2                                     
      |
-| `PARAM_GROUP_MEMBERSHIP_SPLIT_SIZE` | int     |                                       
      |
 | `PARAM_PASSWORD_HASH_ALGORITHM`     | String  | "SHA-256"                             
      |
 | `PARAM_PASSWORD_HASH_ITERATIONS`    | int     | 1000                                  
      |
 | `PARAM_PASSWORD_SALT_SIZE`          | int     | 8                                     
      |

Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user/membership.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user/membership.md?rev=1594185&r1=1594184&r2=1594185&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user/membership.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/security/user/membership.md Tue May 13
10:30:19 2014
@@ -20,7 +20,20 @@ Group Membership
 
 ### Jackrabbit API
 
-_todo_
+The Jackrabbit API extensions provide various methods to edit and explore the
+member relationship of users and groups:
+
+- [org.apache.jackrabbit.api.security.user.Group]
+    - `getDeclaredMembers() Iterator<Authorizable>`
+    - `getMembers() Iterator<Authorizable>`
+    - `isDeclaredMember(Authorizable) boolean`
+    - `isMember(Authorizable boolean`
+    - `addMember(Authorizable) boolean`
+    - `removeMember(Authorizable) boolen`
+
+- [org.apache.jackrabbit.api.security.user.Authorizable]
+    - `declaredMemberOf() Iterator<Group>`
+    - `memberOf() Iterator<Group>`
 
 ### Characteristics of the Default Implementation
 
@@ -122,4 +135,16 @@ node based, strategies and is backward c
 Jackrabbit 2.x. The group member lists that are modified during an import are
 internally processed using the normal user manager APIs. This implies that the
 node structure after the import might not be the same as the one represented in
-the input.
\ No newline at end of file
+the input.
+
+### Configuration
+
+Note that as of Oak 1.0 the implementation is responsible for defining the
+content structure and will expand the multi-valued `rep:members` property accordingly.
+Consequently, the following configuration option `groupMembershipSplitSize` present
+with Jackrabbit 2.x is not supported anymore.
+
+
+<!-- hidden references -->
+[org.apache.jackrabbit.api.security.user.Group]: http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Group.java
+[org.apache.jackrabbit.api.security.user.Authorizable]: http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Authorizable.java
\ No newline at end of file



Mime
View raw message