Package com.atlassian.bamboo.security
Class TrustedKeyServiceImpl
java.lang.Object
com.atlassian.bamboo.security.TrustedKeyServiceImpl
- All Implemented Interfaces:
TrustedKeyService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(long trustedKeyId) @NotNull List<TrustedKey> findAll()@NotNull List<TrustedKey> booleansave(@NotNull TrustedKey trustedKey) Persists the given trusted key.
-
Constructor Details
-
TrustedKeyServiceImpl
public TrustedKeyServiceImpl()
-
-
Method Details
-
findAll
- Specified by:
findAllin interfaceTrustedKeyService
-
findApproved
- Specified by:
findApprovedin interfaceTrustedKeyService
-
delete
public void delete(long trustedKeyId) - Specified by:
deletein interfaceTrustedKeyService
-
save
Description copied from interface:TrustedKeyServicePersists the given trusted key.- Specified by:
savein interfaceTrustedKeyService- Returns:
- true, if trusted key was saved successfully; false if the key was not saved, because another key with the same host/ssh key combination already exists
-