| Modifier and Type | Field and Description | 
|---|---|
| protected Set<String> | excludedNodeTypes | 
EXPR_BLOCKED| Constructor and Description | 
|---|
| StrutsOgnlGuard() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | checkNode(ognl.Node node) | 
| protected boolean | containsExcludedNodeType(ognl.Node node) | 
| boolean | isParsedTreeBlocked(Object tree)Determines whether a parsed OGNL tree should be blocked based on some validation rules. | 
| boolean | isRawExpressionBlocked(String expr)Determines whether an OGNL expression should be blocked based on validation done on only the raw expression,
 without parsing the tree. | 
| protected boolean | recurseNodes(ognl.Node node) | 
| protected boolean | skipTreeCheck(ognl.Node tree) | 
| void | useExcludedNodeTypes(String excludedNodeTypes) | 
| protected void | validateExcludedNodeTypes(Set<String> incomingExcludedNodeTypes) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisBlocked, parseExpressionpublic void useExcludedNodeTypes(String excludedNodeTypes)
protected void validateExcludedNodeTypes(Set<String> incomingExcludedNodeTypes) throws ConfigurationException
ConfigurationExceptionpublic boolean isRawExpressionBlocked(String expr)
OgnlGuardisRawExpressionBlocked in interface OgnlGuardexpr - OGNL expressionpublic boolean isParsedTreeBlocked(Object tree)
OgnlGuardisParsedTreeBlocked in interface OgnlGuardtree - parsed OGNL treeprotected boolean skipTreeCheck(ognl.Node tree)
protected boolean recurseNodes(ognl.Node node)
protected boolean checkNode(ognl.Node node)
protected boolean containsExcludedNodeType(ognl.Node node)
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.