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

    Fields
    Modifier and Type
    Field
    Description
    protected SecurityHelper
     

    Fields inherited from class org.beangle.struts2.action.EntityDrivenAction

    config, entityDao

    Fields inherited from class org.beangle.struts2.action.ActionSupport

    ERROR, INPUT, logger, SUCCESS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    applyPermission(org.beangle.commons.dao.query.builder.OqlBuilder<?> query)
     
    protected List<org.beangle.security.core.userdetail.Profile>
     
    protected <T> List<T>
     
    protected String
     
    void
     

    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, setEntityDao

    Methods 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, populateConditions

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SecurityActionSupport

      public SecurityActionSupport()
  • Method Details

    • getProfiles

      protected List<org.beangle.security.core.userdetail.Profile> getProfiles()
    • getProperties

      protected <T> List<T> getProperties(String name)
    • applyPermission

      protected void applyPermission(org.beangle.commons.dao.query.builder.OqlBuilder<?> query)
    • setSecurityHelper

      public void setSecurityHelper(SecurityHelper securityHelper)
    • getUsername

      protected String getUsername()