powered by Jive Software

Content Filter - import patterns from file

hello everybody

I want to automaticate an import of badwords from a textfile. Now I need to know where the parameter of the plugin are stored. Is there somekind of XML file or a database for these parameters?

In the sourcecode I saw these lines:

/src/web/contentfilter-props-edit-form.jsp:

String patterns = ParamUtils.getParameter(request, “patterns”);

/src/java/org/jivesoftware/openfire/plugin/ContentFilterPlugin.java:

// default to “fox,dog”

patterns = JiveGlobals.getProperty(PATTERNS_PROPERTY, “fox,dog”);

Thanks a lot for help, dear greets & sorry for my bad english