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:
  - here

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final class`
  `NotExcludedAcceptedPatternsChecker.IsAllowed`

  ## 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 Type
  Method
  Description
  `NotExcludedAcceptedPatternsChecker.IsAllowed`
  `isAllowed(String value)`
  Checks if value doesn't match excluded pattern and matches accepted pattern

  ### Methods 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

    NotExcludedAcceptedPatternsChecker.IsAllowed isAllowed(String value)
    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