Class RemoteTrustedKeyHelperImpl
java.lang.Object
com.atlassian.bamboo.security.AbstractTrustedKeyHelper
com.atlassian.bamboo.agent.remote.security.RemoteTrustedKeyHelperImpl
- All Implemented Interfaces:
TrustedKeyHelper
Trusted key helper works at agent side
-
Field Summary
Fields inherited from class com.atlassian.bamboo.security.AbstractTrustedKeyHelper
fileSupplier
Fields inherited from interface com.atlassian.bamboo.security.TrustedKeyHelper
KNOWN_HOSTS_FUNCTION
-
Constructor Summary
ConstructorDescriptionRemoteTrustedKeyHelperImpl
(AdministrationConfigurationAccessor administrationConfigurationAccessor, ServerStateService serverStateService, BambooHomeLocator homeLocator, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Methods inherited from class com.atlassian.bamboo.security.AbstractTrustedKeyHelper
getCustomAcceptedSshHostKeysFile
-
Constructor Details
-
RemoteTrustedKeyHelperImpl
@Autowired public RemoteTrustedKeyHelperImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor, ServerStateService serverStateService, BambooHomeLocator homeLocator, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
onTrustedKeyRemoved
- Overrides:
onTrustedKeyRemoved
in classAbstractTrustedKeyHelper
-
onTrustedKeySaved
- Overrides:
onTrustedKeySaved
in classAbstractTrustedKeyHelper
-
isCustomAcceptedSshHostKeysEnabled
public boolean isCustomAcceptedSshHostKeysEnabled()- Specified by:
isCustomAcceptedSshHostKeysEnabled
in interfaceTrustedKeyHelper
- Overrides:
isCustomAcceptedSshHostKeysEnabled
in classAbstractTrustedKeyHelper
- Returns:
- true if custom keys are enabled for Bamboo
-
getTrustedKeys
- Returns:
- trusted keys
-