|
@@ -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) {
|