Package com.atlassian.bamboo.security
Class TrustedKeyServiceImpl
java.lang.Object
com.atlassian.bamboo.security.TrustedKeyServiceImpl
- All Implemented Interfaces:
TrustedKeyService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long trustedKeyId) @NotNull List<TrustedKey>
findAll()
@NotNull List<TrustedKey>
boolean
save
(@NotNull TrustedKey trustedKey) Persists the given trusted key.
-
Constructor Details
-
TrustedKeyServiceImpl
public TrustedKeyServiceImpl()
-
-
Method Details
-
findAll
- Specified by:
findAll
in interfaceTrustedKeyService
-
findApproved
- Specified by:
findApproved
in interfaceTrustedKeyService
-
delete
public void delete(long trustedKeyId) - Specified by:
delete
in interfaceTrustedKeyService
-
save
Description copied from interface:TrustedKeyService
Persists the given trusted key.- Specified by:
save
in 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
-