com.jcorporate.expresso.core.security.filters
Class AllowedHtmlPlusURLFilter
java.lang.Object
com.jcorporate.expresso.core.security.filters.Filter
com.jcorporate.expresso.core.security.filters.HtmlFilter
com.jcorporate.expresso.core.security.filters.HtmlPlusURLFilter
com.jcorporate.expresso.core.security.filters.AllowedHtmlPlusURLFilter
- public class AllowedHtmlPlusURLFilter
- extends HtmlPlusURLFilter
This class provides a filter implementation for HTML output, protecting against
XSS exploits, but allows a small subset of HTML through, for simple formatting.
It also creates anchor () tags for anything that starts with 'http://', 'www.', etc.
- Author:
- Patricia Schank
|
Constructor Summary |
AllowedHtmlPlusURLFilter()
No-arg constructor required
Just append special html filtering string list with allowed html |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALLOWED_HTML
public static final String[] ALLOWED_HTML
AllowedHtmlPlusURLFilter
public AllowedHtmlPlusURLFilter()
throws IllegalArgumentException
- No-arg constructor required
Just append special html filtering string list with allowed html
Please see www.jcorporate.com for information about new Expresso releases.