*/
public static boolean isActionAuthorized(Component component, String action)
{
if (action == null)
return true;
ISecurityCheck check = saveGetSecurityCheck(component);
if (check != null)
return check.isActionAuthorized(getActionFactory().getAction(action));
if (hasSecureModel(component))
return ((ISecureModel<?>)component.getDefaultModel()).isAuthorized(component,
getActionFactory().getAction(action));
return true;
}