tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1627600 - in /tomcat/trunk/java/org/apache/catalina/realm: LocalStrings.properties PBECredentialHandler.java
Date Thu, 25 Sep 2014 19:32:34 GMT
Author: markt
Date: Thu Sep 25 19:32:33 2014
New Revision: 1627600

URL: http://svn.apache.org/r1627600
Log:
Add the warning

Modified:
    tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties
    tomcat/trunk/java/org/apache/catalina/realm/PBECredentialHandler.java

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=1627600&r1=1627599&r2=1627600&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties Thu Sep 25 19:32:33
2014
@@ -84,3 +84,4 @@ combinedRealm.realmStartFail=Failed to s
 lockOutRealm.authLockedUser=An attempt was made to authenticate the locked user "{0}"
 lockOutRealm.removeWarning=User "{0}" was removed from the failed users cache after {1} seconds
to keep the cache size within the limit set
 mdCredentialHandler.unknownEncoding=The encoding [{0}] is not supported so the current setting
of [{1}] will still be used
+pbeCredentialHandler.invalidKeySpec=Unable to generate a password based key
\ No newline at end of file

Modified: tomcat/trunk/java/org/apache/catalina/realm/PBECredentialHandler.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/PBECredentialHandler.java?rev=1627600&r1=1627599&r2=1627600&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/realm/PBECredentialHandler.java (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/PBECredentialHandler.java Thu Sep 25 19:32:33
2014
@@ -77,7 +77,7 @@ public class PBECredentialHandler extend
         try {
             return HexUtils.toHexString(secretKeyFactory.generateSecret(spec).getEncoded());
         } catch (InvalidKeySpecException e) {
-            // TODO Log a warning
+            log.warn("pbeCredentialHandler.invalidKeySpec", e);
             return null;
         }
     }



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


Mime
View raw message