INNER CODE UNIT · Java

disablePolicy

scalar-labs/scalardb · core/src/main/java/com/scalar/db/api/AbacAdmin.java:41

  default void disablePolicy(String policyName) throws ExecutionException {
    throw new UnsupportedOperationException(CoreError.ABAC_NOT_ENABLED.buildMessage());
  }

  /**
   * Retrieves a policy that has the given name.
   *
   * @param policyName the policy name
   * @return the policy
   * @throws ExecutionException if the operation fails
   */
  default Optional<Policy> getPolicy(String policyName) throws ExecutionException {
    throw new UnsupportedOperationException(CoreError.ABAC_NOT_ENABLED.buildMessage());
  }

  /**
   * Retrieves all policies.
   *

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…