code: @Override
      public Map<String, AbstractPolicy> getPolicies(EvaluationCtx eval, PolicyFinder policyFinder)
      throws PolicyIndexException {
          // no indexing, return everything
          // return a copy, otherwise the map could change during evaluation if policies are added, deleted etc
          readLock.lock();
          try {
              Map<String, AbstractPolicy> result = new ConcurrentHashMap<String, AbstractPolicy>();
              for(String id:policies.keySet()){
                  AbstractPolicy policy = handleDocument(m_policyReader.readPolicy(policies.get(id)),policyFinder);
                  result.put(id, policy);
              }
              return result;
          }
          catch (ParsingException pe) {
              throw new PolicyIndexException(pe.getMessage(),pe);
          }finally {
              readLock.unlock();
          }
      }
docs: /*
  (non-Javadoc)
  @seemelcoe.xacml.pdp.data.Index#getPolicies(org.jboss.security.xacml.sunxacml.
  EvaluationCtx)