Class AbacConfig.AbacCheck

  • Enclosing class:
    AbacConfig

    public static class AbacConfig.AbacCheck
    extends Object
    • Constructor Detail

      • AbacCheck

        public AbacCheck​(org.apache.http.client.HttpClient httpClient)
    • 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 request
        bodyMap - Map of attributes for the request
        Returns:
        HTTP response
        Throws:
        IOException - On error during attribute or HTTP handling