public abstract class AbstractTrustedKeyHelper extends Object implements TrustedKeyHelper
Modifier and Type | Field and Description |
---|---|
protected io.atlassian.util.concurrent.ResettableLazyReference<File> |
fileSupplier |
KNOWN_HOSTS_FUNCTION
Constructor and Description |
---|
AbstractTrustedKeyHelper(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooHomeLocator homeLocator,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
File |
getCustomAcceptedSshHostKeysFile() |
boolean |
isCustomAcceptedSshHostKeysEnabled() |
void |
onTrustedKeyRemoved(TrustedKeyRemovedEvent event) |
void |
onTrustedKeySaved(TrustedKeySavedEvent event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTrustedKeys
protected io.atlassian.util.concurrent.ResettableLazyReference<File> fileSupplier
public AbstractTrustedKeyHelper(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooHomeLocator homeLocator, com.atlassian.event.api.EventPublisher eventPublisher)
public boolean isCustomAcceptedSshHostKeysEnabled()
isCustomAcceptedSshHostKeysEnabled
in interface TrustedKeyHelper
@NotNull public File getCustomAcceptedSshHostKeysFile()
getCustomAcceptedSshHostKeysFile
in interface TrustedKeyHelper
@EventListener public void onTrustedKeyRemoved(TrustedKeyRemovedEvent event)
@EventListener public void onTrustedKeySaved(TrustedKeySavedEvent event)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.