geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r267423 - /geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
Date Sat, 03 Sep 2005 05:19:32 GMT
Author: djencks
Date: Fri Sep  2 22:19:31 2005
New Revision: 267423

URL: http://svn.apache.org/viewcvs?rev=267423&view=rev
Log:
typo fix

Modified:
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java?rev=267423&r1=267422&r2=267423&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
Fri Sep  2 22:19:31 2005
@@ -227,7 +227,7 @@
 
         Container host = engine.findChild(virtualServer);
         if (host == null){
-            throw new IllegalArgumentException("Invalid virtual host '" + virtualServer +"'.
 Do you have a matchiing Host entry in the plan?");
+            throw new IllegalArgumentException("Invalid virtual host '" + virtualServer +"'.
 Do you have a matching Host entry in the plan?");
         }
 
         //Get the security-realm-name if there is one
@@ -256,11 +256,11 @@
                 if (realm instanceof JAASRealm){
                     parentRealmName = ((JAASRealm)realm).getAppName();
                 }
-                
+
                 //Do we have a match to a parent?
                 if(!securityRealmName.equals(parentRealmName)){
                     //No...we need to create a default adapter
-                    
+
                     //Is the context requiring JACC?
                     if (secHolder.isSecurity()){
                         //JACC
@@ -269,16 +269,16 @@
                         //JAAS
                         realm = new TomcatJAASRealm();
                     }
-                    
-                    log.info("The security-realm-name '" + securityRealmName + 
+
+                    log.info("The security-realm-name '" + securityRealmName +
                             "' was specified and a parent (Engine/Host) is not named the
same or no RealmGBean was configured for this context. " +
                             "Creating a default " + realm.getClass().getName() +
                             " adapter for this context.");
-                    
+
                     ((JAASRealm)realm).setUserClassNames("org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal");
                     ((JAASRealm)realm).setRoleClassNames("org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal");
                     ((JAASRealm)realm).setAppName(securityRealmName);
-                    
+
                     anotherCtxObj.setRealm(realm);
                 } else {
                     //Use the parent since a name matches



Mime
View raw message