Class LowPrivilegeThreadPermissionVerifier

java.lang.Object
com.atlassian.bamboo.specs.maven.sandbox.AbstractThreadPermissionVerifier
com.atlassian.bamboo.specs.maven.sandbox.LowPrivilegeThreadPermissionVerifier
All Implemented Interfaces:
ThreadPermissionVerifier

public class LowPrivilegeThreadPermissionVerifier extends AbstractThreadPermissionVerifier
A permission checker with very limited set of allowed permissions.
  • Constructor Details

    • LowPrivilegeThreadPermissionVerifier

      public LowPrivilegeThreadPermissionVerifier(@Nullable @Nullable Path allowedReadDirectory, @Nullable @Nullable Path allowedReadWriteDirectory)
      Permission verifier.
      Parameters:
      allowedReadDirectory - read access will be restricted to this directory.
      allowedReadWriteDirectory - write access will be restricted to this directory.
  • Method Details