Class AbacConfig.AbacCheck

java.lang.Object
org.ehrbase.application.abac.AbacConfig.AbacCheck
Enclosing class:
AbacConfig

public static class AbacConfig.AbacCheck extends Object
  • Constructor Details

    • AbacCheck

      public AbacCheck(org.apache.http.client.HttpClient httpClient)
  • Method Details

    • execute

      public boolean execute(String url, Map<String,String> bodyMap) throws IOException
      Helper to build and send the actual HTTP request to the ABAC server.
      Parameters:
      url - URL for ABAC server request
      bodyMap - Map of attributes for the request
      Returns:
      HTTP response
      Throws:
      IOException - On error during attribute or HTTP handling