Package com.atlassian.bamboo.security
Interface TrustedKeyService
-
- All Known Implementing Classes:
TrustedKeyServiceImpl
@Internal public interface TrustedKeyService
- Since:
- 5.10.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(long trustedKeyId)
@NotNull List<TrustedKey>
findAll()
@NotNull List<TrustedKey>
findApproved()
boolean
save(@NotNull TrustedKey trustedKey)
Persists the given trusted key.
-
-
-
Method Detail
-
findAll
@NotNull @NotNull List<TrustedKey> findAll()
-
findApproved
@NotNull @NotNull List<TrustedKey> findApproved()
-
delete
void delete(long trustedKeyId)
-
save
boolean save(@NotNull @NotNull TrustedKey trustedKey)
Persists the given trusted key.- 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
-
-