static String doTargetResourceNormalization(String originalTargetResource){
  String targetResource=originalTargetResource;
  while (targetResource.endsWith(PARAM_WILDCARD)) {
    int len=targetResource.length();
    targetResource=targetResource.substring(0,len - 2);
  }
  return targetResource;
}

static String doTargetResourceNormalization ( String originalTargetResource ) { String targetResource = originalTargetResource ; while ( targetResource . endsWith ( PARAM_WILDCARD ) ) { int len = targetResource . length ( ) ; targetResource = targetResource . substring ( 0 , len - 2 ) ; } return targetResource ; }
normalize the request resource specifically for entitlement . get rid of ? * for entitlement engine . also used by urlresourcename .
