On 13 July 2011 13:15, Andre <morpheusandre@web.de> wrote:
the functions should do it ,..

You shouldn't have any problems finding these lines in accumulate and reverse, respectively:

   RequestCtx xacml = (RequestCtx) request;
   for (Iterator      <Attribute> iterator = xacml.getResourceAsList().iterator(); iterator.hasNext();) {
             Attribute resource = (              Attribute) iterator.next();

   RequestCtx xacml = (RequestCtx) request;
   for (Iterator<List<Attribute>> iterator = xacml.getResourceAsList().iterator(); iterator.hasNext(); ) {
     List<Attribute> resource = (List<Attribute>) iterator.next();

-W