Correct issue with unit test under Windows introduced with Linux fix.
This commit is contained in:
parent
46f17bed79
commit
bc285fce91
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue