code: public ACL getACL(AuthScheme scheme, String id){
          ProtocolHeader header = new ProtocolHeader();
          header.setType(ProtocolType.GetACL);
  
          GetACLProtocol p = new GetACLProtocol(scheme, id);
  
          Response resp = connection.submitRequest(header, p, null);
          return ((GetACLResponse) resp).getAcl();
      }
docs: Get the ACL.
  
  @param scheme
  the AuthScheme.
  @param id
  the identity.
  @return
  the ACL.