Package org.apache.struts2.security
Interface NotExcludedAcceptedPatternsChecker
- All Superinterfaces:
AcceptedPatternsChecker
,ExcludedPatternsChecker
- All Known Implementing Classes:
DefaultNotExcludedAcceptedPatternsChecker
public interface NotExcludedAcceptedPatternsChecker
extends ExcludedPatternsChecker, AcceptedPatternsChecker
Used across different places to check if given string is not excluded and is accepted
- Since:
- 6.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Nested classes/interfaces inherited from interface org.apache.struts2.security.AcceptedPatternsChecker
AcceptedPatternsChecker.IsAccepted
Nested classes/interfaces inherited from interface org.apache.struts2.security.ExcludedPatternsChecker
ExcludedPatternsChecker.IsExcluded
-
Method Summary
Modifier and TypeMethodDescriptionChecks if value doesn't match excluded pattern and matches accepted patternMethods inherited from interface org.apache.struts2.security.AcceptedPatternsChecker
getAcceptedPatterns, isAccepted, setAcceptedPatterns, setAcceptedPatterns, setAcceptedPatterns
Methods inherited from interface org.apache.struts2.security.ExcludedPatternsChecker
getExcludedPatterns, isExcluded, setExcludedPatterns, setExcludedPatterns, setExcludedPatterns
-
Method Details
-
isAllowed
Checks if value doesn't match excluded pattern and matches accepted pattern- Parameters:
value
- to check- Returns:
- object containing result of matched pattern and pattern itself
-