Class SecurityUIBean

java.lang.Object
org.beangle.struts2.view.component.Component
org.beangle.struts2.view.component.UIBean
org.openurp.web.view.component.SecurityUIBean
Direct Known Subclasses:
Guard

public abstract class SecurityUIBean extends org.beangle.struts2.view.component.UIBean
基于授权访问的bean
Version:
$Id: SecurityUIBean.java Jul 2, 2011 9:24:56 AM chaostone $
Author:
chaostone
  • Field Summary

    Fields inherited from class org.beangle.struts2.view.component.UIBean

    cssClass, id, theme

    Fields inherited from class org.beangle.struts2.view.component.Component

    COMPONENT_STACK, parameters, stack
  • Constructor Summary

    Constructors
    Constructor
    Description
    SecurityUIBean(com.opensymphony.xwork2.util.ValueStack stack, org.beangle.security.authz.Authorizer authorizer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract String
     
    protected boolean
     
    boolean
    start(Writer writer)
     

    Methods inherited from class org.beangle.struts2.view.component.UIBean

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

    Methods inherited from class 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

    Methods inherited from class java.lang.Object

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

    • SecurityUIBean

      public SecurityUIBean(com.opensymphony.xwork2.util.ValueStack stack, org.beangle.security.authz.Authorizer authorizer)
  • Method Details

    • start

      public boolean start(Writer writer)
      Overrides:
      start in class org.beangle.struts2.view.component.Component
    • isAuthorize

      protected boolean isAuthorize(String res)
    • getResource

      protected abstract String getResource()