Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 86647 invoked from network); 16 Dec 2010 10:26:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Dec 2010 10:26:07 -0000 Received: (qmail 41817 invoked by uid 500); 16 Dec 2010 10:26:07 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 41730 invoked by uid 500); 16 Dec 2010 10:26:07 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 41723 invoked by uid 99); 16 Dec 2010 10:26:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 10:26:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 10:26:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B300723888CF; Thu, 16 Dec 2010 10:25:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1049878 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication: AbstractLoginModule.java CallbackHandlerImpl.java LocalAuthContext.java SimpleCredentialsAuthentication.java Date: Thu, 16 Dec 2010 10:25:45 -0000 To: commits@jackrabbit.apache.org From: angela@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101216102545.B300723888CF@eris.apache.org> Author: angela Date: Thu Dec 16 10:25:45 2010 New Revision: 1049878 URL: http://svn.apache.org/viewvc?rev=1049878&view=rev Log: javadoc Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AbstractLoginModule.java jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CallbackHandlerImpl.java jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/LocalAuthContext.java jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/SimpleCredentialsAuthentication.java Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AbstractLoginModule.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AbstractLoginModule.java?rev=1049878&r1=1049877&r2=1049878&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AbstractLoginModule.java (original) +++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AbstractLoginModule.java Thu Dec 16 10:25:45 2010 @@ -51,7 +51,7 @@ import org.slf4j.LoggerFactory; * On successful authentication it associates the credentials to principals * using the {@link PrincipalProvider} configured for this LoginModule

* Jackrabbit distinguishes between Login and Impersonation dispatching the - * the correspoding Repository/Session methods to + * the corresponding Repository/Session methods to * {@link #authenticate(java.security.Principal, javax.jcr.Credentials)} and * {@link #impersonate(java.security.Principal, javax.jcr.Credentials)}, respectively. *
@@ -109,7 +109,7 @@ public abstract class AbstractLoginModul * * Implementations are called via * {@link #doInit(CallbackHandler, Session, Map)} to implement - * additional initalization + * additional initialization * * @param subject the Subject to be authenticated.

* @param callbackHandler a CallbackHandler for communicating @@ -132,7 +132,7 @@ public abstract class AbstractLoginModul // initialize the login module try { - log.debug("Initalize LoginModule: "); + log.debug("Initialize LoginModule: "); RepositoryCallback repositoryCb = new RepositoryCallback(); callbackHandler.handle(new Callback[]{repositoryCb}); @@ -208,8 +208,8 @@ public abstract class AbstractLoginModul * * @param callbackHandler as passed by {@link javax.security.auth.login.LoginContext} * @param session to security-workspace of Jackrabbit - * @param options options from Logini config - * @throws LoginException in case initialization failes + * @param options options from LoginModule config + * @throws LoginException in case initialization fails. */ protected abstract void doInit(CallbackHandler callbackHandler, Session session, @@ -228,7 +228,7 @@ public abstract class AbstractLoginModul /** * Method to authenticate a Subject (phase 1).

- * The login is devided into 3 Phases:

+ * The login is divided into 3 Phases:

* * 1) User-ID resolution
* In a first step it is tried to resolve a User-ID for further validation. @@ -256,7 +256,7 @@ public abstract class AbstractLoginModul * * 3) Verification
* There are four cases, how the User-ID can be verified: - * The login is anonymous, preauthenticated or the login is the result of + * The login is anonymous, pre-authenticated or the login is the result of * an impersonation request (see {@link javax.jcr.Session#impersonate(Credentials)} * or of a login to the Repository ({@link javax.jcr.Repository#login(Credentials)}). * The concrete implementation of the LoginModule is responsible for all @@ -491,7 +491,7 @@ public abstract class AbstractLoginModul throws RepositoryException; /** - * Method tries to acquire an Impersonator in the follwing order: + * Method tries to acquire an Impersonator in the following order: *

    *
  • Try to access it from the {@link Credentials} via {@link SimpleCredentials#getAttribute(String)}
  • *
  • Ask CallbackHandler for Impersonator with use of {@link ImpersonationCallback}.
  • @@ -524,7 +524,7 @@ public abstract class AbstractLoginModul /** * Method tries to resolve the {@link Credentials} used for login. It takes * authentication-extension of an already authenticated {@link Subject} into - * accout. + * account. *

    * Therefore the credentials are retrieved as follows: *

      @@ -534,7 +534,7 @@ public abstract class AbstractLoginModul * to return an instance of {@link Credentials}. *
    1. Ask the Subject for its public SimpleCredentials see * {@link Subject#getPublicCredentials(Class)}, thus enabling to - * preauthenticate the Subject.
    2. + * pre-authenticate the Subject. *
    * * @return Credentials or null if not found @@ -591,7 +591,7 @@ public abstract class AbstractLoginModul } /** - * Method supports tries to acquire a UserID in the follwing order: + * Method supports tries to acquire a UserID in the following order: *
      *
    1. If passed credentials are {@link GuestCredentials} the anonymous user id * is returned.
    2. Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CallbackHandlerImpl.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CallbackHandlerImpl.java?rev=1049878&r1=1049877&r2=1049878&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CallbackHandlerImpl.java (original) +++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CallbackHandlerImpl.java Thu Dec 16 10:25:45 2010 @@ -52,7 +52,7 @@ public class CallbackHandlerImpl impleme private final String anonymousId; /** - * Instanciate with the data needed to handle callbacks + * Instantiate with the data needed to handle callbacks * * @param credentials * @param session Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/LocalAuthContext.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/LocalAuthContext.java?rev=1049878&r1=1049877&r2=1049878&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/LocalAuthContext.java (original) +++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/LocalAuthContext.java Thu Dec 16 10:25:45 2010 @@ -53,7 +53,7 @@ public class LocalAuthContext implements /** * Create Context and set Subject to extend its authentication * - * @param config Condiguration to be used for the LoginModule + * @param config Configuration to be used for the LoginModule * @param cbHandler CallbackHandler for the LoginModule * @param subject Subject if a pre-authenticated exists */ Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/SimpleCredentialsAuthentication.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/SimpleCredentialsAuthentication.java?rev=1049878&r1=1049877&r2=1049878&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/SimpleCredentialsAuthentication.java (original) +++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/SimpleCredentialsAuthentication.java Thu Dec 16 10:25:45 2010 @@ -27,7 +27,7 @@ import java.io.UnsupportedEncodingExcept import java.security.NoSuchAlgorithmException; /** - * This Authentication implementation compairs + * This Authentication implementation compare * {@link javax.jcr.SimpleCredentials SimpleCredentials} stored * for a given {@link org.apache.jackrabbit.api.security.user.User#getCredentials() User} * to the credentials passed to {@link #authenticate(Credentials)}. @@ -81,7 +81,7 @@ class SimpleCredentialsAuthentication im } /** - * Compairs the + * Compare the * {@link org.apache.jackrabbit.api.security.user.User#getCredentials() Credentials} obtained from the User * with the specified credentials.
      * If the specified credentials are an instance of