@Component public class RemoteTrustedKeyHelperImpl extends AbstractTrustedKeyHelper
fileSupplier
KNOWN_HOSTS_FUNCTION
Constructor and Description |
---|
RemoteTrustedKeyHelperImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor,
ServerStateService serverStateService,
com.atlassian.config.HomeLocator homeLocator,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
Set<TrustedKey> |
getTrustedKeys() |
boolean |
isCustomAcceptedSshHostKeysEnabled() |
void |
onTrustedKeyRemoved(TrustedKeyRemovedEvent event) |
void |
onTrustedKeySaved(TrustedKeySavedEvent event) |
getCustomAcceptedSshHostKeysFile
@Autowired public RemoteTrustedKeyHelperImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor, ServerStateService serverStateService, com.atlassian.config.HomeLocator homeLocator, com.atlassian.event.api.EventPublisher eventPublisher)
@EventListener public void onTrustedKeyRemoved(TrustedKeyRemovedEvent event)
onTrustedKeyRemoved
in class AbstractTrustedKeyHelper
@EventListener public void onTrustedKeySaved(TrustedKeySavedEvent event)
onTrustedKeySaved
in class AbstractTrustedKeyHelper
public boolean isCustomAcceptedSshHostKeysEnabled()
isCustomAcceptedSshHostKeysEnabled
in interface TrustedKeyHelper
isCustomAcceptedSshHostKeysEnabled
in class AbstractTrustedKeyHelper
@NotNull public Set<TrustedKey> getTrustedKeys()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.