public Resource getResource( String host, String path ) {
log.debug( "path: " + path + " ::::::::::: consolePath:" + consolePath );
if( path.startsWith( consolePath ) ) {
path = stripConsolePath( path, consolePath );
Resource secureResource = wrappedFactory.getResource( host, secureResourcePath );
if( secureResource == null ) {
throw new IllegalArgumentException( "Could not locate a resource to authorise against. path: " + secureResourcePath + " - resourceFactory: " + wrappedFactory.getClass() + " host: " + host );
}
if( path.endsWith( "index.html" ) ) {