Package org.apache.struts2.security
Class DefaultExcludedPatternsChecker
java.lang.Object
org.apache.struts2.security.DefaultExcludedPatternsChecker
- All Implemented Interfaces:
ExcludedPatternsChecker
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.struts2.security.ExcludedPatternsChecker
ExcludedPatternsChecker.IsExcluded
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAllow access list of all defined excluded patternsisExcluded
(String value) Checks if value matches any of patterns on exclude listvoid
setAdditionalExcludePatterns
(String excludePatterns) protected void
setDynamicMethodInvocation
(String dmiValue) void
setExcludedPatterns
(String commaDelimitedPatterns) Sets excluded patterns during runtimevoid
setExcludedPatterns
(String[] patterns) Sets excluded patterns during runtimevoid
setExcludedPatterns
(Set<String> patterns) Sets excluded patterns during runtimeprotected void
setOverrideExcludePatterns
(String excludePatterns)
-
Field Details
-
EXCLUDED_PATTERNS
-
-
Constructor Details
-
DefaultExcludedPatternsChecker
public DefaultExcludedPatternsChecker()
-
-
Method Details
-
setOverrideExcludePatterns
-
setAdditionalExcludePatterns
-
setDynamicMethodInvocation
-
setExcludedPatterns
Description copied from interface:ExcludedPatternsChecker
Sets excluded patterns during runtime- Specified by:
setExcludedPatterns
in interfaceExcludedPatternsChecker
- Parameters:
commaDelimitedPatterns
- comma delimited string with patterns
-
setExcludedPatterns
Description copied from interface:ExcludedPatternsChecker
Sets excluded patterns during runtime- Specified by:
setExcludedPatterns
in interfaceExcludedPatternsChecker
- Parameters:
patterns
- array of additional excluded patterns
-
setExcludedPatterns
Description copied from interface:ExcludedPatternsChecker
Sets excluded patterns during runtime- Specified by:
setExcludedPatterns
in interfaceExcludedPatternsChecker
- Parameters:
patterns
- set of additional patterns
-
isExcluded
Description copied from interface:ExcludedPatternsChecker
Checks if value matches any of patterns on exclude list- Specified by:
isExcluded
in interfaceExcludedPatternsChecker
- Parameters:
value
- to check- Returns:
- object containing result of matched pattern and pattern itself
-
getExcludedPatterns
Description copied from interface:ExcludedPatternsChecker
Allow access list of all defined excluded patterns- Specified by:
getExcludedPatterns
in interfaceExcludedPatternsChecker
- Returns:
- set of excluded patterns
-