Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 89010 invoked from network); 13 Jun 2005 05:37:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jun 2005 05:37:11 -0000 Received: (qmail 91484 invoked by uid 500); 13 Jun 2005 05:37:10 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 91460 invoked by uid 500); 13 Jun 2005 05:37:10 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 91447 invoked by uid 99); 13 Jun 2005 05:37:10 -0000 X-ASF-Spam-Status: No, hits=-9.6 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 12 Jun 2005 22:37:06 -0700 Received: (qmail 88944 invoked by uid 65534); 13 Jun 2005 05:36:57 -0000 Message-ID: <20050613053657.88943.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r190354 - /directory/apacheds/branches/direve-158/core/src/test/org/apache/ldap/server/jndi/RootDSETest.java Date: Mon, 13 Jun 2005 05:36:56 -0000 To: commits@directory.apache.org From: trustin@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: trustin Date: Sun Jun 12 22:36:56 2005 New Revision: 190354 URL: http://svn.apache.org/viewcvs?rev=3D190354&view=3Drev Log: Fixed: Failing tests Modified: directory/apacheds/branches/direve-158/core/src/test/org/apache/ldap/se= rver/jndi/RootDSETest.java Modified: directory/apacheds/branches/direve-158/core/src/test/org/apache/l= dap/server/jndi/RootDSETest.java URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/direve-158/c= ore/src/test/org/apache/ldap/server/jndi/RootDSETest.java?rev=3D190354&r1= =3D190353&r2=3D190354&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- directory/apacheds/branches/direve-158/core/src/test/org/apache/ldap/se= rver/jndi/RootDSETest.java (original) +++ directory/apacheds/branches/direve-158/core/src/test/org/apache/ldap/se= rver/jndi/RootDSETest.java Sun Jun 12 22:36:56 2005 @@ -119,6 +119,7 @@ env.put( Context.PROVIDER_URL, "" ); env.put( Context.SECURITY_PRINCIPAL, "uid=3Dadmin,ou=3Dsystem" ); env.put( Context.SECURITY_CREDENTIALS, "secret" ); + env.put( Context.SECURITY_AUTHENTICATION, "simple" ); env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class= .getName() ); =20 InitialContext initCtx =3D new InitialContext( env ); @@ -141,6 +142,7 @@ env.put( Context.PROVIDER_URL, "" ); env.put( Context.SECURITY_PRINCIPAL, "uid=3Dadmin,ou=3Dsystem" ); env.put( Context.SECURITY_CREDENTIALS, "secret" ); + env.put( Context.SECURITY_AUTHENTICATION, "simple" ); env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class= .getName() ); =20 InitialContext initCtx =3D new InitialContext( env ); @@ -171,6 +173,7 @@ env.put( Context.PROVIDER_URL, "" ); env.put( Context.SECURITY_PRINCIPAL, "uid=3Dadmin,ou=3Dsystem" ); env.put( Context.SECURITY_CREDENTIALS, "secret" ); + env.put( Context.SECURITY_AUTHENTICATION, "simple" ); env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class= .getName() ); =20 InitialContext initCtx =3D new InitialContext( env ); @@ -203,6 +206,7 @@ env.put( Context.PROVIDER_URL, "" ); env.put( Context.SECURITY_PRINCIPAL, "uid=3Dadmin,ou=3Dsystem" ); env.put( Context.SECURITY_CREDENTIALS, "secret" ); + env.put( Context.SECURITY_AUTHENTICATION, "simple" ); env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class= .getName() ); =20 InitialContext initCtx =3D new InitialContext( env ); @@ -242,6 +246,7 @@ env.put( Context.PROVIDER_URL, "" ); env.put( Context.SECURITY_PRINCIPAL, "uid=3Dadmin,ou=3Dsystem" ); env.put( Context.SECURITY_CREDENTIALS, "secret" ); + env.put( Context.SECURITY_AUTHENTICATION, "simple" ); env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class= .getName() ); =20 InitialContext initCtx =3D new InitialContext( env ); @@ -279,11 +284,9 @@ =20 Hashtable env =3D new Hashtable( cfg.toJndiEnvironment() ); env.put( Context.PROVIDER_URL, "" ); - env.put( Context.SECURITY_PRINCIPAL, "uid=3Dadmin,ou=3Dsystem" ); - env.put( Context.SECURITY_CREDENTIALS, "secret" ); - + env.put( Context.SECURITY_AUTHENTICATION, "simple" ); env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class= .getName() ); =20 InitialContext initCtx =3D new InitialContext( env ); @@ -321,11 +324,9 @@ =20 Hashtable env =3D new Hashtable( cfg.toJndiEnvironment() ); env.put( Context.PROVIDER_URL, "" ); - env.put( Context.SECURITY_PRINCIPAL, "uid=3Dadmin,ou=3Dsystem" ); - env.put( Context.SECURITY_CREDENTIALS, "secret" ); - + env.put( Context.SECURITY_AUTHENTICATION, "simple" ); env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class= .getName() ); =20 InitialContext initCtx =3D new InitialContext( env );