Class ManualEncryptionResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.encrypt.ManualEncryptionResource
@Path("encrypt")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class ManualEncryptionResource
extends Object
Resource for encrypt text
- Since:
- 6.9
-
Constructor Summary
ConstructorDescriptionManualEncryptionResource
(AdministrationConfigurationAccessor administrationConfigurationAccessor, SecretEncryptionService secretEncryptionService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, RestAuthenticationContext restAuthenticationContext) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
encrypt
(ManualEncryptionRequest request) void
onNodePromotedToPrimary
(@NotNull NodePromotedEvent event) void
onSecuritySettingsUpdated
(@NotNull SecuritySettingsUpdatedEvent securitySettingsUpdatedEvent)
-
Constructor Details
-
ManualEncryptionResource
@Inject public ManualEncryptionResource(AdministrationConfigurationAccessor administrationConfigurationAccessor, SecretEncryptionService secretEncryptionService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, RestAuthenticationContext restAuthenticationContext)
-
-
Method Details
-
encrypt
@POST public javax.ws.rs.core.Response encrypt(ManualEncryptionRequest request) throws WebValidationException - Throws:
WebValidationException
-
onSecuritySettingsUpdated
@EventListener public void onSecuritySettingsUpdated(@NotNull @NotNull SecuritySettingsUpdatedEvent securitySettingsUpdatedEvent) -
onNodePromotedToPrimary
-