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/12/16 11:33:12 UTC
svn commit: r1049891 - in
/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core:
DefaultSecurityManager.java UserPerWorkspaceSecurityManager.java
Author: angela
Date: Thu Dec 16 10:33:12 2010
New Revision: 1049891
URL: http://svn.apache.org/viewvc?rev=1049891&view=rev
Log:
javadoc
Modified:
jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java
jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/UserPerWorkspaceSecurityManager.java
Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java?rev=1049891&r1=1049890&r2=1049891&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java Thu Dec 16 10:33:12 2010
@@ -172,7 +172,7 @@ public class DefaultSecurityManager impl
} else if (authContextProvider.isJAAS()) {
log.info("init: use JAAS login-configuration for " + config.getAppName());
} else {
- String msg = "Neither JAAS nor RepositoryConfig contained a valid Configuriation for " + config.getAppName();
+ String msg = "Neither JAAS nor RepositoryConfig contained a valid configuration for " + config.getAppName();
log.error(msg);
throw new RepositoryException(msg);
}
@@ -589,7 +589,7 @@ public class DefaultSecurityManager impl
}
/**
- * Make sure the sytem users (admin and anonymous) exist.
+ * Make sure the system users (admin and anonymous) exist.
*
* @param userManager Manager to create users/groups.
* @param session
Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/UserPerWorkspaceSecurityManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/UserPerWorkspaceSecurityManager.java?rev=1049891&r1=1049890&r2=1049891&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/UserPerWorkspaceSecurityManager.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/UserPerWorkspaceSecurityManager.java Thu Dec 16 10:33:12 2010
@@ -137,7 +137,7 @@ public class UserPerWorkspaceSecurityMan
}
/**
- * As this implementation expectes that users information in present in
+ * As this implementation expects that users information in present in
* every workspace, the UserManager is always created with the given
* session.
*
@@ -240,7 +240,7 @@ public class UserPerWorkspaceSecurityMan
* @param session Session for the principal manager must be created.
* @return A new instance of PrincipalManagerImpl. Note that this implementation
* uses a workspace specific principal provider registry, that retrieves
- * the configured providers from the registry obtained throug
+ * the configured providers from the registry obtained through
* {@link #getPrincipalProviderRegistry()} but has a workspace specific
* default provider.
* @throws RepositoryException
@@ -252,13 +252,13 @@ public class UserPerWorkspaceSecurityMan
/**
* Returns a new instance of <code>SimpleWorkspaceAccessManager</code>, since
- * with the <code>DefaultLoginModule</code> the existance of the user
+ * with the <code>DefaultLoginModule</code> the existence of the user
* is checked in order to successfully complete the login. Since with this
* SecurityManager users are stored separately in each workspace, a user
* may only login to a workspace if the corresponding user node exists.
* Consequently a lazy workspace access manager is sufficient.<p/>
*
- * If this SecurityManager is used with a distict <code>LoginModule</code>
+ * If this SecurityManager is used with a distinct <code>LoginModule</code>
* implementation, the {@link org.apache.jackrabbit.core.config.SecurityManagerConfig#getWorkspaceAccessConfig() configuration}
* for <code>WorkspaceAccessManager</code> should be adjusted as well.
*
@@ -272,7 +272,7 @@ public class UserPerWorkspaceSecurityMan
//--------------------------------------------------------------------------
/**
* Workaround to get a default (user-based) principal provider depending
- * on the workspace beeing accessed. This is required for this security
+ * on the workspace being accessed. This is required for this security
* manager as users aren't stored in a single, dedicated workspace.
*/
private final class WorkspaceBasedPrincipalProviderRegistry implements PrincipalProviderRegistry {