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
fileSupplierFields inherited from interface com.atlassian.bamboo.security.TrustedKeyHelper
KNOWN_HOSTS_FUNCTION -
Constructor Summary
ConstructorsConstructorDescriptionRemoteTrustedKeyHelperImpl(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:
onTrustedKeyRemovedin classAbstractTrustedKeyHelper
-
onTrustedKeySaved
- Overrides:
onTrustedKeySavedin classAbstractTrustedKeyHelper
-
isCustomAcceptedSshHostKeysEnabled
public boolean isCustomAcceptedSshHostKeysEnabled()- Specified by:
isCustomAcceptedSshHostKeysEnabledin interfaceTrustedKeyHelper- Overrides:
isCustomAcceptedSshHostKeysEnabledin classAbstractTrustedKeyHelper- Returns:
- true if custom keys are enabled for Bamboo
-
getTrustedKeys
- Returns:
- trusted keys
-