You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2013/09/29 09:56:42 UTC
svn commit: r1527281 - in /directory/apacheds/trunk/interceptors:
authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java
hash/src/main/java/org/apache/directory/server/core/hash/Pkcs5s2PasswordHashingInterceptor.java
Author: kayyagari
Date: Sun Sep 29 07:56:41 2013
New Revision: 1527281
URL: http://svn.apache.org/r1527281
Log:
edited javadoc
Modified:
directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java
directory/apacheds/trunk/interceptors/hash/src/main/java/org/apache/directory/server/core/hash/Pkcs5s2PasswordHashingInterceptor.java
Modified: directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java?rev=1527281&r1=1527280&r2=1527281&view=diff
==============================================================================
--- directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java (original)
+++ directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java Sun Sep 29 07:56:41 2013
@@ -333,7 +333,7 @@ public class AciAuthorizationInterceptor
*
* @param tuples the collection of tuples to add to
* @param dn the normalized distinguished name of the protected entry
- * @param entry the target entry that access to is being controled
+ * @param entry the target entry whose access is being controlled
* @throws Exception if there are problems accessing attribute values
* @param proxy the partition nexus proxy object
*/
Modified: directory/apacheds/trunk/interceptors/hash/src/main/java/org/apache/directory/server/core/hash/Pkcs5s2PasswordHashingInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/interceptors/hash/src/main/java/org/apache/directory/server/core/hash/Pkcs5s2PasswordHashingInterceptor.java?rev=1527281&r1=1527280&r2=1527281&view=diff
==============================================================================
--- directory/apacheds/trunk/interceptors/hash/src/main/java/org/apache/directory/server/core/hash/Pkcs5s2PasswordHashingInterceptor.java (original)
+++ directory/apacheds/trunk/interceptors/hash/src/main/java/org/apache/directory/server/core/hash/Pkcs5s2PasswordHashingInterceptor.java Sun Sep 29 07:56:41 2013
@@ -25,13 +25,16 @@ import org.apache.directory.api.ldap.mod
/**
- * PasswordHashingInterceptor using PBKDF2WithHmacSHA1 encryption algorithm
- * to generate a secret key and use its encoded value as the password hash
- * with {PKCS5S2} prefix.
+ * PasswordHashingInterceptor using PBKDF2WithHmacSHA1 encryption algorithm<br>
+ * to generate a secret key and use its encoded value as the password hash<br>
+ * with {PKCS5S2} prefix.<br><br>
*
* See <a href="http://en.wikipedia.org/wiki/PBKDF2">PBKDF2 spec</a> for more
- * details.
- *
+ * details.<br><br>
+ *
+ * Note: This has been implemented to generate hashes compatible with what JIRA generates.
+ * See the <a href="http://pythonhosted.org/passlib/lib/passlib.hash.atlassian_pbkdf2_sha1.html">JIRA's passlib</a>
+ *
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
public class Pkcs5s2PasswordHashingInterceptor extends PasswordHashingInterceptor