Correct issue with unit test under Windows introduced with Linux fix.

This commit is contained in:
Ben Alex 2004-06-23 05:49:38 +00:00
parent 46f17bed79
commit bc285fce91
1 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ import org.apache.commons.logging.LogFactory;
import org.springframework.context.support.FileSystemXmlApplicationContext;
import org.springframework.core.io.ResourceLoader;
import java.io.File;
import java.io.IOException;
@ -234,7 +236,7 @@ public class CatalinaAcegiUserRealm extends RealmBase {
}
FileSystemXmlApplicationContext ctx = new FileSystemXmlApplicationContext(
"file://" + xml.getAbsolutePath());
"file:" + xml.getAbsolutePath());
Map beans = ctx.getBeansOfType(AuthenticationManager.class, true, true);
if (beans.size() == 0) {