Fix some typos
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 16 Aug 2009 17:28:50 +0000 (17:28 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 16 Aug 2009 17:28:50 +0000 (17:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804725 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/realm/JAASRealm.java

index d701070..be4f18a 100644 (file)
@@ -483,12 +483,12 @@ public class JAASRealm
      * The Principal is constructed by scanning the list of Principals returned
      * by the JAASLoginModule. The first <code>Principal</code> object that matches
      * one of the class names supplied as a "user class" is the user Principal.
-     * This object is returned to tha caller.
+     * This object is returned to the caller.
      * Any remaining principal objects returned by the LoginModules are mapped to  
      * roles, but only if their respective classes match one of the "role class" classes. 
      * If a user Principal cannot be constructed, return <code>null</code>.
      * @param subject The <code>Subject</code> representing the logged-in user
-     * @param loginContext Associated with th Princpal so
+     * @param loginContext Associated with the Principal so
      *                     {@link LoginContext#logout()} can be called later
      */
     protected Principal createPrincipal(String username, Subject subject,