jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1447430 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/InternalLdapServer.java
Date Mon, 18 Feb 2013 18:57:27 GMT
Author: angela
Date: Mon Feb 18 18:57:27 2013
New Revision: 1447430

URL: http://svn.apache.org/r1447430
Log:
OAK-516: Create LdapLoginModule based on ExternalLoginModule (my refactoring garbled getDn
call; update latest patch by manfred baedke)

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/InternalLdapServer.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/InternalLdapServer.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/InternalLdapServer.java?rev=1447430&r1=1447429&r2=1447430&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/InternalLdapServer.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/InternalLdapServer.java
Mon Feb 18 18:57:27 2013
@@ -91,7 +91,7 @@ class InternalLdapServer extends Abstrac
 
     private static String buildDn(String name, boolean isGroup) {
         StringBuilder dn = new StringBuilder();
-        dn.append(name).append(',');
+        dn.append("cn=").append(name).append(',');
         if (isGroup) {
             dn.append(ServerDNConstants.GROUPS_SYSTEM_DN);
         } else {



Mime
View raw message