Class XStreamSecurityConfigurator
java.lang.Object
com.atlassian.confluence.impl.xstream.security.XStreamSecurityConfigurator
Configures allow-list security framework. Toggle framework with if xstream.allowlist.enable sysprop
Provides extra allow-list packages in CSV format to xstream.allowlist.extra
We still keep backward compatibility with xstream.whitelist.enable and xstream.whitelistlist.extra
A plugin developer can use XStream's API to configure security with types/wildcards.
See: https://x-stream.github.io/security.html#example
- Since:
- 7.10.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllowTypes(String pluginKey, Set<String> types) voidaddAllowTypesByRegExps(String pluginKey, Set<String> typesByRegExps) voidaddAllowTypesByWildcard(String pluginKey, Set<String> wildcards) voidclearPluginSecurityData(String pluginKey) voidconfigureXStreamSecurity(ConfluenceXStreamInternal confluenceXStream)
-
Constructor Details
-
XStreamSecurityConfigurator
public XStreamSecurityConfigurator()
-
-
Method Details
-
configureXStreamSecurity
-
addAllowTypes
-
addAllowTypesByRegExps
-
addAllowTypesByWildcard
-
clearPluginSecurityData
-