Package org.openurp.web.action
Class SecurityActionSupport
java.lang.Object
org.beangle.struts2.action.ActionSupport
org.beangle.struts2.action.EntityActionSupport
org.beangle.struts2.action.EntityDrivenAction
org.openurp.web.action.SecurityActionSupport
- All Implemented Interfaces:
org.beangle.commons.text.i18n.TextResourceProvider
- Direct Known Subclasses:
AdminBaseAction,BaseAction
public abstract class SecurityActionSupport
extends org.beangle.struts2.action.EntityDrivenAction
-
Field Summary
FieldsFields inherited from class org.beangle.struts2.action.EntityDrivenAction
config, entityDaoFields inherited from class org.beangle.struts2.action.ActionSupport
ERROR, INPUT, logger, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyPermission(org.beangle.commons.dao.query.builder.OqlBuilder<?> query) protected List<org.beangle.security.core.userdetail.Profile> protected <T> List<T> getProperties(String name) protected StringvoidsetSecurityHelper(SecurityHelper securityHelper) Methods inherited from class org.beangle.struts2.action.EntityDrivenAction
buildEntityImporter, buildEntityImporter, buildEntityImporter, buildExporter, configExporter, configImporter, edit, editSetting, export, getConfig, getEntity, getEntity, getEntity, getEntityDao, getEntityName, getExportDatas, getImporterListeners, getModel, getModels, getModels, getPropertyExtractor, getQueryBuilder, getShortName, importData, importForm, index, indexSetting, info, populateEntity, populateEntity, populateEntity, remove, remove, remove, removeAndForward, save, saveAndForward, saveOrUpdate, saveOrUpdate, search, search, setConfig, setEntityDaoMethods inherited from class org.beangle.struts2.action.EntityActionSupport
getId, getIds, getIntId, getIntIds, getLongId, getLongIds, getPageIndex, getPageLimit, getPageSize, populate, populate, populate, populate, populate, populate, populate, populate, populateConditions, populateConditionsMethods inherited from class org.beangle.struts2.action.ActionSupport
addCookie, addCookie, addError, addFlashError, addFlashMessage, addMessage, deleteCookie, execute, forward, forward, forward, forward, forward, get, get, get, getActionErrors, getActionMessages, getAll, getAll, getAttribute, getAttribute, getBool, getBoolean, getCookieValue, getDate, getDateTime, getFlash, getFloat, getInt, getLocale, getLong, getRemoteAddr, getRequest, getResource, getResponse, getSession, getShort, getText, getText, getTextInternal, getTextResource, getTextResource, put, redirect, redirect, redirect, redirect
-
Field Details
-
securityHelper
-
-
Constructor Details
-
SecurityActionSupport
public SecurityActionSupport()
-
-
Method Details
-
getProfiles
-
getProperties
-
applyPermission
protected void applyPermission(org.beangle.commons.dao.query.builder.OqlBuilder<?> query) -
setSecurityHelper
-
getUsername
-