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(@NotNull com.atlassian.event.api.EventPublisher eventPublisher, @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor, @NotNull com.atlassian.plugin.event.PluginEventManager pluginEventManager, @NotNull ServerStateService serverStateService, @NotNull SystemSerializableClassWhitelistProvider systemSerializableClassWhitelistProvider)
@EventListener public void onAgentRegistered(@NotNull AgentRegisteredEvent event)
@EventListener public void onWhitelistChanged(@NotNull BambooHomeDirectoryClassWhitelistChanged event)
protected void addWhitelistedClassNames(@NotNull com.google.common.collect.ImmutableSet.Builder<String> whitelistBuilder)
AbstractSerializationSecurityManager
addWhitelistedClassNames
in class AbstractSerializationSecurityManager
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.