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
Constructors Constructor Description RestSecuritySettingsServiceImpl(AdministrationConfigurationService administrationConfigurationService, FeatureManager featureManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, RestPermissionCheck restPermissionCheck)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull RestSecuritySettings
getRestSecuritySettings()
Retrieve security settings from bamboo.void
updateSecuritySettings(@NotNull RestSecuritySettings restSecuritySettings)
Updates the security settings on bamboo.
-
-
-
Constructor Detail
-
RestSecuritySettingsServiceImpl
@Inject public RestSecuritySettingsServiceImpl(AdministrationConfigurationService administrationConfigurationService, FeatureManager featureManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, RestPermissionCheck restPermissionCheck)
-
-
Method Detail
-
getRestSecuritySettings
@NotNull public @NotNull RestSecuritySettings 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
-
-