Class ConfluencePatternsChecker
- java.lang.Object
-
- com.opensymphony.xwork2.security.DefaultAcceptedPatternsChecker
-
- com.atlassian.confluence.impl.struts.ConfluencePatternsChecker
-
- All Implemented Interfaces:
com.opensymphony.xwork2.security.AcceptedPatternsChecker
public class ConfluencePatternsChecker extends com.opensymphony.xwork2.security.DefaultAcceptedPatternsChecker
Subclass of the
DefaultAcceptedPatternsChecker
that does not log warnings when overriding the accepted patterns. In Confluence we are overriding the default patterns with our own stricter pattern (see struts.xml) and these warnings scare customers.This class will also log an error if the upstream/default accepted patterns change, to ensure developers integrate relevant upstream changes into our custom pattern when upgrading the Struts library.
- Since:
- 8.6.1
-
-
Constructor Summary
Constructors Constructor Description ConfluencePatternsChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
logPatternChange(Set<String> newPatterns)
-