Package org.ehrbase.application.abac
Class AbacConfig.AbacCheck
- java.lang.Object
-
- org.ehrbase.application.abac.AbacConfig.AbacCheck
-
- Enclosing class:
- AbacConfig
public static class AbacConfig.AbacCheck extends Object
-
-
Constructor Summary
Constructors Constructor Description AbacCheck(org.apache.http.client.HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(String url, Map<String,String> bodyMap)Helper to build and send the actual HTTP request to the ABAC server.
-
-
-
Method Detail
-
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 requestbodyMap- Map of attributes for the request- Returns:
- HTTP response
- Throws:
IOException- On error during attribute or HTTP handling
-
-