try
{
debug.message("Authorizing access - SSOToken is "+token);
debug.message("Checking policy for "+action+" on URL "+appliesTo);
PolicyEvaluator pe = new PolicyEvaluator(serviceName);
debug.message("Got PolicyEvaluator for "+serviceName);
boolean isAllowed = pe.isAllowed(token, appliesTo, action);
debug.message("Access " + (isAllowed ? "is" : "is not" ) + " allowed");
return isAllowed;
}
catch ( PolicyException pe )
{