Class SerializationSecurityManagerImpl
java.lang.Object
com.atlassian.bamboo.serialization.AbstractSerializationSecurityManager
com.atlassian.bamboo.serialization.SerializationSecurityManagerImpl
- All Implemented Interfaces:
SerializationSecurityManager
-
Field Summary
Fields inherited from class com.atlassian.bamboo.serialization.AbstractSerializationSecurityManager
completeClassNameWhitelist, pluginProvidedClassNameWhitelist
-
Constructor Summary
ConstructorDescriptionSerializationSecurityManagerImpl
(@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
Modifier and TypeMethodDescriptionprotected void
addWhitelistedClassNames
(com.google.common.collect.ImmutableSet.Builder<String> whitelistBuilder) This method should be overridden by implementations to modify class whitelist.void
Methods inherited from class com.atlassian.bamboo.serialization.AbstractSerializationSecurityManager
getClassNameWhitelist, isBlacklisted, pluginDisabled, pluginEnabled, pluginModuleDisabled, pluginModuleEnabled, pluginUninstalled, pluginUpgraded, recalculateMasterClassWhitelist, registerPluginEventListeners, unregisterPluginEventListeners
-
Constructor Details
-
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 Details
-
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
-