You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by an...@apache.org on 2009/11/25 17:03:27 UTC
svn commit: r884166 -
/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CryptedSimpleCredentials.java
Author: angela
Date: Wed Nov 25 16:03:26 2009
New Revision: 884166
URL: http://svn.apache.org/viewvc?rev=884166&view=rev
Log:
improve comment
Modified:
jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CryptedSimpleCredentials.java
Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CryptedSimpleCredentials.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CryptedSimpleCredentials.java?rev=884166&r1=884165&r2=884166&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CryptedSimpleCredentials.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/CryptedSimpleCredentials.java Wed Nov 25 16:03:26 2009
@@ -130,7 +130,7 @@
String algr = getAlgorithm(toMatch);
if (algr == null && algorithm != null) {
- // uncrypted pw to match -> crypt with algorithm present here.
+ // pw to match not crypted -> crypt with algorithm present here.
return crypt(toMatch, algorithm).equals(cryptedPassword);
} else if (algr != null && algorithm == null) {
// crypted pw to match but unknown algorithm here -> crypt this pw