@ParametersAreNonnullByDefault public class RemoteSerializationSecurityManager extends AbstractSerializationSecurityManager
completeClassNameWhitelist, pluginProvidedClassNameWhitelist
Constructor and Description |
---|
RemoteSerializationSecurityManager(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
ServerStateService serverStateService,
SystemSerializableClassWhitelistProvider systemSerializableClassWhitelistProvider) |
Modifier and Type | Method and Description |
---|---|
protected void |
addWhitelistedClassNames(com.google.common.collect.ImmutableSet.Builder<String> whitelistBuilder)
This method should be overridden by implementations to modify class whitelist.
|
void |
onAgentRegistered(AgentRegisteredEvent event) |
void |
onWhitelistChanged(BambooHomeDirectoryClassWhitelistChanged event)
This whitelist is propagated from server and contains entries from a file in BAMBOO_HOME directory
|
getClassNameWhitelist, isBlacklisted, pluginDisabled, pluginEnabled, pluginModuleDisabled, pluginModuleEnabled, pluginUninstalled, pluginUpgraded, recalculateMasterClassWhitelist, registerPluginEventListeners, unregisterPluginEventListeners
@Autowired public RemoteSerializationSecurityManager(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.event.PluginEventManager pluginEventManager, ServerStateService serverStateService, SystemSerializableClassWhitelistProvider systemSerializableClassWhitelistProvider)
@EventListener public void onAgentRegistered(AgentRegisteredEvent event)
@EventListener public void onWhitelistChanged(BambooHomeDirectoryClassWhitelistChanged event)
protected void addWhitelistedClassNames(com.google.common.collect.ImmutableSet.Builder<String> whitelistBuilder)
AbstractSerializationSecurityManager
addWhitelistedClassNames
in class AbstractSerializationSecurityManager
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.