public class BasePrivilegeFilter extends java.lang.Object implements PrivilegeFilter
DIGITAL_URL, NO_VERIFY_NEEDED, ROLE_VERIFY_NEEDED, USER_PASSWORD_VERIFY_NEEDED, XML_TAG
构造器和说明 |
---|
BasePrivilegeFilter() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
PrivilegeVote |
filter(javax.servlet.http.HttpServletRequest req)
是否通过权限认证
|
int |
getID()
标示这个认证方式的编号
|
protected long |
getTimeout() |
void |
init4Server()
服务启动时需要进行的初始化
|
protected PrivilegeVote |
isHyperLinkNoCheck(javax.servlet.http.HttpServletRequest req) |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public void init4Server()
init4Server
在接口中 PrivilegeFilter
public PrivilegeVote filter(javax.servlet.http.HttpServletRequest req)
filter
在接口中 PrivilegeFilter
req
- HTTP请求protected PrivilegeVote isHyperLinkNoCheck(javax.servlet.http.HttpServletRequest req)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public int getID()
getID
在接口中 PrivilegeFilter
protected long getTimeout()