类 Guard

java.lang.Object
org.beangle.struts2.view.component.Component
org.beangle.struts2.view.component.UIBean
org.openurp.web.view.component.SecurityUIBean
org.openurp.web.view.component.Guard

public class Guard extends SecurityUIBean
对资源和内置区域进行守护
作者:
chaostone
  • 字段概要

    从类继承的字段 org.beangle.struts2.view.component.UIBean

    cssClass, id, theme

    从类继承的字段 org.beangle.struts2.view.component.Component

    COMPONENT_STACK, parameters, stack
  • 构造器概要

    构造器
    构造器
    说明
    Guard(com.opensymphony.xwork2.util.ValueStack stack, org.beangle.security.authz.Authorizer authorizer)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    end(Writer writer, String body)
     
    protected String
     
    void
     

    从类继承的方法 org.openurp.web.view.component.SecurityUIBean

    isAuthorize, start

    从类继承的方法 org.beangle.struts2.view.component.UIBean

    evaluateParams, generateIdIfEmpty, getContainer, getCssClass, getId, getParameterString, getRequest, getRequestParameter, getRequestURI, getText, getText, getTheme, getValue, mergeTemplate, processLabel, render, setCssClass, setId, setTheme

    从类继承的方法 org.beangle.struts2.view.component.Component

    addAllParameters, addParameter, altSyntax, altSyntax, completeExpressionIfAltSyntax, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, popComponentStack, stripExpressionIfAltSyntax, stripExpressionIfAltSyntax, toString, usesBody

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • Guard

      public Guard(com.opensymphony.xwork2.util.ValueStack stack, org.beangle.security.authz.Authorizer authorizer)
  • 方法详细资料

    • end

      public boolean end(Writer writer, String body)
      覆盖:
      end 在类中 org.beangle.struts2.view.component.UIBean
    • getResource

      protected String getResource()
      指定者:
      getResource 在类中 SecurityUIBean
    • setRes

      public void setRes(String res)