Class RestSecuritySettingsServiceImpl
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.security.RestSecuritySettingsServiceImpl
- All Implemented Interfaces:
RestSecuritySettingsService
@Component
public class RestSecuritySettingsServiceImpl
extends Object
implements RestSecuritySettingsService
Service layer to manage security settings
-
Constructor Summary
ConstructorDescriptionRestSecuritySettingsServiceImpl
(AdministrationConfigurationService administrationConfigurationService, FeatureManager featureManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, RestPermissionCheck restPermissionCheck) -
Method Summary
Modifier and TypeMethodDescription@NotNull RestSecuritySettings
Retrieve security settings from bamboo.void
updateSecuritySettings
(@NotNull RestSecuritySettings restSecuritySettings) Updates the security settings on bamboo.
-
Constructor Details
-
RestSecuritySettingsServiceImpl
@Inject public RestSecuritySettingsServiceImpl(AdministrationConfigurationService administrationConfigurationService, FeatureManager featureManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, RestPermissionCheck restPermissionCheck)
-
-
Method Details
-
getRestSecuritySettings
Description copied from interface:RestSecuritySettingsService
Retrieve security settings from bamboo.- Specified by:
getRestSecuritySettings
in interfaceRestSecuritySettingsService
- Returns:
RestSecuritySettings
-
updateSecuritySettings
public void updateSecuritySettings(@NotNull @NotNull RestSecuritySettings restSecuritySettings) throws WebValidationException, org.quartz.SchedulerException Description copied from interface:RestSecuritySettingsService
Updates the security settings on bamboo.- Specified by:
updateSecuritySettings
in interfaceRestSecuritySettingsService
- Parameters:
restSecuritySettings
- The settings to be updated- Throws:
WebValidationException
- if there settings provided are invalidorg.quartz.SchedulerException
- if there is a problem with the scheduler
-