public Map < String , Result > makeResultMap ( ResponseCtx resCtx ) { @ SuppressWarnings ( "unchecked" ) Iterator < Result > i = resCtx . getResults ( ) . iterator ( ) ; Map < String , Result > resultMap = new HashMap < String , Result > ( ) ; while ( i . hasNext ( ) ) { Result r = i . next ( ) ; resultMap . put ( r . getResource ( ) , r ) ; } return resultMap ; }
Returns a map of resource - id result based on an XACML response .