Class JcmsSecurityMatchFilter

java.lang.Object
org.apache.log4j.spi.Filter
org.apache.log4j.varia.StringMatchFilter
com.jalios.jcms.logging.NDCMatchFilter
com.jalios.jcms.logging.JcmsSecurityMatchFilter
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler

public class JcmsSecurityMatchFilter extends NDCMatchFilter
This filter only allows message with a "[SECURITY]" NDC.
Since:
jcms-10.0.6
Author:
sdevaux
See Also:
  • Field Summary

    Fields inherited from class org.apache.log4j.varia.StringMatchFilter

    ACCEPT_ON_MATCH_OPTION, STRING_TO_MATCH_OPTION

    Fields inherited from class org.apache.log4j.spi.Filter

    ACCEPT, DENY, NEUTRAL, next
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     

    Methods inherited from class com.jalios.jcms.logging.NDCMatchFilter

    decide

    Methods inherited from class org.apache.log4j.varia.StringMatchFilter

    getOptionStrings, setAcceptOnMatch, setOption, setStringToMatch

    Methods inherited from class org.apache.log4j.spi.Filter

    activateOptions, getNext, setNext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JcmsSecurityMatchFilter

      public JcmsSecurityMatchFilter()
  • Method Details

    • getStringToMatch

      public String getStringToMatch()
      Overrides:
      getStringToMatch in class org.apache.log4j.varia.StringMatchFilter
    • getAcceptOnMatch

      public boolean getAcceptOnMatch()
      Overrides:
      getAcceptOnMatch in class org.apache.log4j.varia.StringMatchFilter