29303132333435
public ActionForward accessDenied(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { throw new PermissionException(); }
3132333435363738
return userVo.hasPrivilege(vos); } protected final void checkAuthorization(boolean isPrivileged) throws PermissionException { if(!isPrivileged) { throw new PermissionException("Permission Denied"); } }