public static List doResourceIPEnvAuth(String resourceUrl,String realm,Map envParameters) throws PolicyException {
  ActionDecision decision=null;
  if (resourceUrl != null) {
    decision=getActionDecision(resourceUrl,envParameters);
    return getPolicyAdvice(decision,realm);
  }
 else {
    return Collections.EMPTY_LIST;
  }
}

public static List doResourceIPEnvAuth ( String resourceUrl , String realm , Map envParameters ) throws PolicyException { ActionDecision decision = null ; if ( resourceUrl != null ) { decision = getActionDecision ( resourceUrl , envParameters ) ; return getPolicyAdvice ( decision , realm ) ; } else { return Collections . EMPTY_LIST ; } }
performs resource / ip / environment based authentication . this method is used by auth login viewbean .
