Default interceptors, such as application security interceptors, must be listed in the ``++ejb-jar.xml++`` file, or they will not be treated as default. This rule applies to projects that contain JEE Beans (any one of ``++javax.ejb.Singleton++``, ``++MessageDriven++``, ``++Stateless++`` or ``++Stateful++``). == Noncompliant Code Example ---- // file: ejb-interceptors.xml * com.myco.ImportantInterceptor ---- == Compliant Solution ---- // file: ejb-jar.xml * com.myco.ImportantInterceptor ---- == See * https://www.owasp.org/index.php/Top_10-2017_A6-Security_Misconfiguration[OWASP Top 10 2017 Category A6] - Security Misconfiguration