jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
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 GMT
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<p />
  * 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.
  * <br>
@@ -109,7 +109,7 @@ public abstract class AbstractLoginModul
      * </ul>
      * Implementations are called via
      * {@link #doInit(CallbackHandler, Session, Map)} to implement
-     * additional initalization
+     * additional initialization
      *
      * @param subject         the <code>Subject</code> to be authenticated. <p>
      * @param callbackHandler a <code>CallbackHandler</code> 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 <code>Subject</code> (phase 1).<p/>
-     * The login is devided into 3 Phases:<p/>
+     * The login is divided into 3 Phases:<p/>
      *
      * <b>1) User-ID resolution</b><br>
      * In a first step it is tried to resolve a User-ID for further validation.
@@ -256,7 +256,7 @@ public abstract class AbstractLoginModul
      *
      * <b>3) Verification</b><br>
      * 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:
      * <ul>
      * <li> Try to access it from the {@link Credentials} via {@link SimpleCredentials#getAttribute(String)}</li>
      * <li> Ask CallbackHandler for Impersonator with use of {@link ImpersonationCallback}.</li>
@@ -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.
      * <p/>
      * Therefore the credentials are retrieved as follows:
      * <ol>
@@ -534,7 +534,7 @@ public abstract class AbstractLoginModul
      * to return an instance of {@link Credentials}.</li>
      * <li>Ask the Subject for its public <code>SimpleCredentials</code>
see
      * {@link Subject#getPublicCredentials(Class)}, thus enabling to
-     * preauthenticate the Subject.</li>
+     * pre-authenticate the Subject.</li>
      * </ol>
      *
      * @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:
      * <ol>
      * <li>If passed credentials are {@link GuestCredentials} the anonymous user id
      * is returned.</li>

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 <code>Authentication</code> implementation compairs
+ * This <code>Authentication</code> 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 <code>User</code>
      * with the specified <code>credentials</code>.<br>
      * If the specified <code>credentials</code> are an instance of



Mime
View raw message