Class SerializationSecurityManagerImpl
- java.lang.Object
-
- com.atlassian.bamboo.serialization.AbstractSerializationSecurityManager
-
- com.atlassian.bamboo.serialization.SerializationSecurityManagerImpl
-
- All Implemented Interfaces:
SerializationSecurityManager
public class SerializationSecurityManagerImpl extends AbstractSerializationSecurityManager
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.serialization.AbstractSerializationSecurityManager
completeClassNameWhitelist, pluginProvidedClassNameWhitelist
-
-
Constructor Summary
Constructors Constructor Description SerializationSecurityManagerImpl(@NotNull com.atlassian.event.api.EventPublisher eventPublisher, @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor, @NotNull com.atlassian.plugin.event.PluginEventManager pluginEventManager, @NotNull BambooHomeDirectoryClassWhitelistProvider bambooHomeDirectoryClassWhitelistProvider, @NotNull SystemSerializableClassWhitelistProvider systemSerializableClassWhitelistProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addWhitelistedClassNames(com.google.common.collect.ImmutableSet.Builder<String> whitelistBuilder)
This method should be overridden by implementations to modify class whitelist.void
onSerializableClassWhitelistChanged(@NotNull BambooHomeDirectoryClassWhitelistChanged event)
-
Methods inherited from class com.atlassian.bamboo.serialization.AbstractSerializationSecurityManager
getClassNameWhitelist, isBlacklisted, pluginDisabled, pluginEnabled, pluginModuleDisabled, pluginModuleEnabled, pluginUninstalled, pluginUpgraded, recalculateMasterClassWhitelist, registerPluginEventListeners, unregisterPluginEventListeners
-
-
-
-
Constructor Detail
-
SerializationSecurityManagerImpl
@Inject public SerializationSecurityManagerImpl(@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 BambooHomeDirectoryClassWhitelistProvider bambooHomeDirectoryClassWhitelistProvider, @NotNull @NotNull SystemSerializableClassWhitelistProvider systemSerializableClassWhitelistProvider)
-
-
Method Detail
-
onSerializableClassWhitelistChanged
@EventListener public void onSerializableClassWhitelistChanged(@NotNull @NotNull BambooHomeDirectoryClassWhitelistChanged event)
-
addWhitelistedClassNames
protected void addWhitelistedClassNames(@NotNull com.google.common.collect.ImmutableSet.Builder<String> whitelistBuilder)
Description copied from class:AbstractSerializationSecurityManager
This method should be overridden by implementations to modify class whitelist.- Specified by:
addWhitelistedClassNames
in classAbstractSerializationSecurityManager
-
-