geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r420475 - /geronimo/sandbox/svkmerge/m2migration/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
Date Mon, 10 Jul 2006 10:12:52 GMT
Author: jdillon
Date: Mon Jul 10 03:12:41 2006
New Revision: 420475

URL: http://svn.apache.org/viewvc?rev=420475&view=rev
Log:
Convert to a URI and pass that instead of a File toString()

Modified:
    geronimo/sandbox/svkmerge/m2migration/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java

Modified: geronimo/sandbox/svkmerge/m2migration/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/svkmerge/m2migration/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java?rev=420475&r1=420474&r2=420475&view=diff
==============================================================================
--- geronimo/sandbox/svkmerge/m2migration/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
(original)
+++ geronimo/sandbox/svkmerge/m2migration/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
Mon Jul 10 03:12:41 2006
@@ -160,8 +160,8 @@
         new SecurityServiceImpl(cl, serverInfo, "org.apache.geronimo.security.jacc.GeronimoPolicyConfigurationFactory",
"org.apache.geronimo.security.jacc.GeronimoPolicy", null, null, null, null);
 
         Properties options = new Properties();
-        options.setProperty("usersURI", new File(basedir, "src/test-resources/data/users.properties").toString());
-        options.setProperty("groupsURI", new File(basedir, "src/test-resources/data/groups.properties").toString());
+        options.setProperty("usersURI", new File(basedir, "src/test-resources/data/users.properties").toURI().toString());
+        options.setProperty("groupsURI", new File(basedir, "src/test-resources/data/groups.properties").toURI().toString());
 
         LoginModuleGBean loginModule = new LoginModuleGBean("org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule",
null, true, true, cl);
         loginModule.setLoginDomainName(domainName);



Mime
View raw message