static Permissions createPermissions(Environment environment) throws IOException {
  Permissions policy=new Permissions();
  addClasspathPermissions(policy);
  addFilePermissions(policy,environment);
  return policy;
}

static Permissions createPermissions ( Environment environment ) throws IOException { Permissions policy = new Permissions ( ) ; addClasspathPermissions ( policy ) ; addFilePermissions ( policy , environment ) ; return policy ; }
returns dynamic permissions to configured paths and bind ports
