return false;
}
}
final String action = getHttpMethodAction(request);
try {
final Action nxAction = Action.valueOf(action);
final ResourceStoreRequest storeRequest = getResourceStoreRequest(request, false);
return storeRequest != null && rootRouter.authorizePath(storeRequest, nxAction);
}
catch (IllegalArgumentException e) { // Enum.valueOf
log.warn(formatMessage(request, "Cannot translate Shiro action '{}' to Nexus action"), action);