You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by an...@apache.org on 2010/05/19 16:56:17 UTC

svn commit: r946207 - in /jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api: ./ security/ security/principal/ security/user/

Author: angela
Date: Wed May 19 14:56:17 2010
New Revision: 946207

URL: http://svn.apache.org/viewvc?rev=946207&view=rev
Log:
typo, minor improvement in javadoc

Modified:
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitSession.java
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlList.java
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/principal/PrincipalManager.java
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Authorizable.java
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Group.java
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/UserManager.java

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitSession.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitSession.java?rev=946207&r1=946206&r2=946207&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitSession.java (original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitSession.java Wed May 19 14:56:17 2010
@@ -37,7 +37,7 @@ public interface JackrabbitSession exten
      * the principal manager or principals in general.
      * @throws UnsupportedRepositoryOperationException If principal management
      * is not supported.
-     * @throws RepositoryException If another error occors.
+     * @throws RepositoryException If another error occurs.
      * @see PrincipalManager
      */
     PrincipalManager getPrincipalManager() throws AccessDeniedException, UnsupportedRepositoryOperationException, RepositoryException;

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlList.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlList.java?rev=946207&r1=946206&r2=946207&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlList.java (original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlList.java Wed May 19 14:56:17 2010
@@ -121,7 +121,8 @@ public interface JackrabbitAccessControl
      * at the position of the specified <code>destEntry</code>.<p/>
      * If <code>destEntry</code> is <code>null</code> the entry is moved to the
      * end of the list.<p/>
-     * If srcChildRelPath and destChildRelPath are the same no changes are made.
+     * If <code>srcEntry</code> and <code>destEntry</code> are the same no
+     * changes are made.
      * 
      * @param srcEntry The access control entry to be moved within the list.
      * @param destEntry The entry before which the <code>srcEntry</code> will be moved.

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java?rev=946207&r1=946206&r2=946207&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java (original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java Wed May 19 14:56:17 2010
@@ -98,7 +98,7 @@ public interface JackrabbitAccessControl
      * @return <code>true</code> if the session has the specified privileges;
      *         <code>false</code> otherwise.
      * @throws javax.jcr.PathNotFoundException if no node at <code>absPath</code> exists
-     * or the session does not have sufficent access to retrieve a node at that location.
+     * or the session does not have sufficient access to retrieve a node at that location.
      * @throws AccessDeniedException if the session lacks
      * <code>READ_ACCESS_CONTROL</code> privilege for the <code>absPath</code> node.
      * @throws RepositoryException  if another error occurs.

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/principal/PrincipalManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/principal/PrincipalManager.java?rev=946207&r1=946206&r2=946207&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/principal/PrincipalManager.java (original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/principal/PrincipalManager.java Wed May 19 14:56:17 2010
@@ -145,7 +145,7 @@ public interface PrincipalManager {
     PrincipalIterator getGroupMembership(Principal principal);
 
     /**
-     * Returns the <code>Principal</code> which is implicitely is applied to
+     * Returns the <code>Principal</code> which is implicitly applied to
      * every subject.
      *
      * @return the 'everyone' principal

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Authorizable.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Authorizable.java?rev=946207&r1=946206&r2=946207&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Authorizable.java (original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Authorizable.java Wed May 19 14:56:17 2010
@@ -32,7 +32,7 @@ import javax.jcr.Value;
  * Please note the difference between <code>Authorizable</code> and
  * {@link java.security.Principal Principal}:<br>
  * An <code>Authorizable</code> is repository object that is neither associated
- * with nor depending from a particular <code>Session</code> and thus independant
+ * with nor depending from a particular <code>Session</code> and thus independent
  * of the login mechanisms creating <code>Session</code>s.<br>
  * <p/>
  * On the other hand <code>Principal</code>s are representations of user
@@ -47,7 +47,7 @@ import javax.jcr.Value;
  * <p/>
  * The interfaces derived from Authorizable are defined as follows:
  * <ul>
- * <li>{@link User}: defined to be an authorizable that can be authenticated
+ * <li>{@link User}: defined to be an Authorizable that can be authenticated
  * (by using Credentials) and impersonated.</li>
  * <li>{@link Group}: defined to be a collection of other
  * <code>Authorizable</code>s.</li>
@@ -59,7 +59,7 @@ import javax.jcr.Value;
 public interface Authorizable {
 
     /**
-     * Return the implementation specific identifer for this
+     * Return the implementation specific identifier for this
      * <code>Authorizable</code>. It could e.g. be a UserID or simply the
      * principal name.
      *
@@ -98,8 +98,8 @@ public interface Authorizable {
      * if it listed as member of a Group or if still has members (this is
      * a Group itself).
      *
-     * @throws RepositoryException If an error occured and the
-     *                             <code>Authorizable</code> could not be removed.
+     * @throws RepositoryException If an error occurred and the
+     * <code>Authorizable</code> could not be removed.
      */
     void remove() throws RepositoryException;
 

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Group.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Group.java?rev=946207&r1=946206&r2=946207&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Group.java (original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Group.java Wed May 19 14:56:17 2010
@@ -53,7 +53,7 @@ public interface Group extends Authoriza
      * @param authorizable The <code>Authorizable</code> to be added as
      * member to this group.
      * @return true if the <code>Authorizable</code> has successfully been added
-     * to this Group, false otherwise (e.g. unknown implemention
+     * to this Group, false otherwise (e.g. unknown implementation
      * or if it already is a member or if the passed authorizable is this
      * group itself or for some implementation specific constraint).
      * @throws RepositoryException If an error occurs.

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/UserManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/UserManager.java?rev=946207&r1=946206&r2=946207&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/UserManager.java (original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/UserManager.java Wed May 19 14:56:17 2010
@@ -152,8 +152,8 @@ public interface UserManager {
 
     /**
      * Creates a new <code>Group</code> that is based on the given principal
-     * and the specified <code>itermediatePath</code> hint. If the implementation
-     * is not able to deal with the <code>itermediatePath</code> this parameter
+     * and the specified <code>intermediatePath</code> hint. If the implementation
+     * is not able to deal with the <code>intermediatePath</code> this parameter
      * should be ignored.
      *
      * @param principal
@@ -168,7 +168,7 @@ public interface UserManager {
     /**
      * If any write operations executed through the User API are automatically
      * persisted this method returns <code>true</code>. In this case there are
-     * no pending transient changes left and there is no need to explicitely call
+     * no pending transient changes left and there is no need to explicitly call
      * {@link javax.jcr.Session#save()}. If this method returns <code>false</code>
      * any changes must be completed by an extra save call on the
      * <code>Session</code> associated with this <code>UserManager</code>.
@@ -188,7 +188,7 @@ public interface UserManager {
      * is different from the original session accessing the user manager.
      *
      * @param enable If <code>true</code> changes made through this API will
-     * be automatically saved; otherwise an explict call to
+     * be automatically saved; otherwise an explicit call to
      * {@link javax.jcr.Session#save()} is required in order to persist changes.
      * @throws UnsupportedRepositoryOperationException If the implementation
      * does not allow to change the auto save behavior.