code: @Override
      public byte[] getPolicy(String name) throws PolicyStoreException {
          String pid = getPID(name);
          if (!contains(name)) {
              throw new PolicyStoreException("Get: policy " + pid
                                                   + " does not exist.");
          }
  
          try {
              InputStream is =
                  apiAService.getDatastreamDissemination(getContext(),
                                                         pid,
                                                         FESL_POLICY_DATASTREAM,
                                                         null).getStream();
              return IOUtils.toByteArray(is);
          } catch (Exception e) {
              throw new PolicyStoreException("Get: error reading policy "
                                                   + pid + " - " + e.getMessage(), e);
          }
  
      }
docs: /*
  (non-Javadoc)
  @see
  org.fcrepo.server.security.xacml.pdp.data.PolicyDataManager#getPolicy
  (java.lang.String)