tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1088430 - in /tomcat/trunk: java/org/apache/catalina/realm/LocalStrings.properties java/org/apache/catalina/realm/RealmBase.java webapps/docs/config/valve.xml
Date Sun, 03 Apr 2011 22:38:23 GMT
Author: kkolinko
Date: Sun Apr  3 22:38:23 2011
New Revision: 1088430

URL: http://svn.apache.org/viewvc?rev=1088430&view=rev
Log:
Followup to r1087416:
Correct typos in messages and remove one e.printStackTrace() call.

Modified:
    tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties
    tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java
    tomcat/trunk/webapps/docs/config/valve.xml

Modified: tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties?rev=1088430&r1=1088429&r2=1088430&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties Sun Apr  3 22:38:23
2011
@@ -65,7 +65,7 @@ memoryRealm.readXml=Exception while read
 memoryRealm.xmlFeatureEncoding=Exception configuring digester to permit java encoding names
in XML files. Only IANA encoding names will be supported.
 realmBase.algorithm=Invalid message digest algorithm {0} specified
 realmBase.alreadyStarted=This Realm has already been started
-realmBase.delegatedCredentialFail=Unable to obtain delegated credentials for user [{0}
+realmBase.delegatedCredentialFail=Unable to obtain delegated credentials for user [{0}]
 realmBase.digest=Error digesting user credentials
 realmBase.forbidden=Access to the requested resource has been denied
 realmBase.hasRoleFailure=Username {0} does NOT have role {1}

Modified: tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java?rev=1088430&r1=1088429&r2=1088430&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java Sun Apr  3 22:38:23 2011
@@ -471,7 +471,6 @@ public abstract class RealmBase extends 
                     try {
                         gssCredential = gssContext.getDelegCred();
                     } catch (GSSException e) {
-                        e.printStackTrace();
                         if (log.isDebugEnabled()) {
                             log.debug(sm.getString(
                                     "realmBase.delegatedCredentialFail", name),
@@ -830,7 +829,7 @@ public abstract class RealmBase extends 
             if (roles.length == 0 && !constraint.getAllRoles()) {
                 if(constraint.getAuthConstraint()) {
                     if( log.isDebugEnabled() )
-                        log.debug("No role)s ");
+                        log.debug("No roles");
                     status = false; // No listed roles means no access at all
                     denyfromall = true;
                     break;

Modified: tomcat/trunk/webapps/docs/config/valve.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/valve.xml?rev=1088430&r1=1088429&r2=1088430&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/valve.xml (original)
+++ tomcat/trunk/webapps/docs/config/valve.xml Sun Apr  3 22:38:23 2011
@@ -930,7 +930,7 @@
         the user Principal. If available, the delegated credential will be
         available to applications (e.g. for onward authentication to external
         services) via the <code>org.apache.catalina.realm.GSS_CREDENTIAL</code>
-        request attribute.If not set, the default value of <code>true</code>
+        request attribute. If not set, the default value of <code>true</code>
         will be used.</p>
       </attribute>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message