Search in sources :

Example 1 with SecurityManager

use of io.milton.http.SecurityManager in project lobcder by skoulouzis.

the class FileSystemResourceFactoryTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    root = new File(System.getProperty("java.home"));
    SecurityManager sm = null;
    factory = new FileSystemResourceFactory(root, sm);
    System.out.println("testing with root: " + root.getAbsolutePath());
}
Also used : SecurityManager(io.milton.http.SecurityManager) FileSystemResourceFactory(io.milton.http.fs.FileSystemResourceFactory) File(java.io.File)

Aggregations

SecurityManager (io.milton.http.SecurityManager)1 FileSystemResourceFactory (io.milton.http.fs.FileSystemResourceFactory)1 File (java.io.File)1