@Singleton public class ManualEncryptionResource extends Object
Constructor and Description |
---|
ManualEncryptionResource(AdministrationConfigurationAccessor administrationConfigurationAccessor,
SecretEncryptionService secretEncryptionService,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
encrypt(ManualEncryptionRequest request,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Encrypts a given text based on the instance specific cipher.
|
void |
onSecuritySettingsUpdated(SecuritySettingsUpdatedEvent securitySettingsUpdatedEvent) |
public ManualEncryptionResource(AdministrationConfigurationAccessor administrationConfigurationAccessor, SecretEncryptionService secretEncryptionService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver)
public javax.ws.rs.core.Response encrypt(ManualEncryptionRequest request, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException
WebValidationException
@EventListener public void onSecuritySettingsUpdated(@NotNull SecuritySettingsUpdatedEvent securitySettingsUpdatedEvent)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.