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 |
|---|---|
@NotNull File |
getCustomAcceptedSshHostKeysFile() |
boolean |
isCustomAcceptedSshHostKeysEnabled() |
void |
onTrustedKeyRemoved(TrustedKeyRemovedEvent event) |
void |
onTrustedKeySaved(TrustedKeySavedEvent event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTrustedKeysprotected 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 @NotNull File getCustomAcceptedSshHostKeysFile()
getCustomAcceptedSshHostKeysFile in interface TrustedKeyHelper@EventListener public void onTrustedKeyRemoved(TrustedKeyRemovedEvent event)
@EventListener public void onTrustedKeySaved(TrustedKeySavedEvent event)
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.