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