public void setAllowByDefault(boolean allowByDefault) {
this.allowByDefault = allowByDefault;
}
public boolean isAllow(String target, String userName, String[] roleNames, String... actions) {
PageAuthorizationResult result = authorize(target, userName, roleNames, actions);
switch (result) {
case ALLOWED:
return true;