Class ManualEncryptionResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.encrypt.ManualEncryptionResource
-
@Singleton public class ManualEncryptionResource extends Object
Resource for encrypt text- Since:
- 6.9
-
-
Constructor Summary
Constructors Constructor Description ManualEncryptionResource(AdministrationConfigurationAccessor administrationConfigurationAccessor, SecretEncryptionService secretEncryptionService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
encrypt(ManualEncryptionRequest request, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
void
onNodePromotedToPrimary(@NotNull NodePromotedEvent event)
void
onSecuritySettingsUpdated(@NotNull SecuritySettingsUpdatedEvent securitySettingsUpdatedEvent)
-
-
-
Constructor Detail
-
ManualEncryptionResource
public ManualEncryptionResource(AdministrationConfigurationAccessor administrationConfigurationAccessor, SecretEncryptionService secretEncryptionService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Detail
-
encrypt
public javax.ws.rs.core.Response encrypt(ManualEncryptionRequest request, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException
- Throws:
WebValidationException
-
onSecuritySettingsUpdated
@EventListener public void onSecuritySettingsUpdated(@NotNull @NotNull SecuritySettingsUpdatedEvent securitySettingsUpdatedEvent)
-
onNodePromotedToPrimary
@EventListener public void onNodePromotedToPrimary(@NotNull @NotNull NodePromotedEvent event)
-
-