com.atlassian.bamboo.plugins.rest.admin.security
Class SecuritySettingsResource

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.admin.security.SecuritySettingsResource

public class SecuritySettingsResource
extends Object

Manage the REST endpoint for security settings

Since:
5.9

Field Summary
static String REST_PATH
           
 
Constructor Summary
SecuritySettingsResource(RestSecuritySettingsService restSecuritySettingsService, com.atlassian.sal.api.ApplicationProperties applicationProperties)
           
 
Method Summary
 RestSecuritySettings getSecuritySettings()
          The REST endpoint to retrieve security settings.
 javax.ws.rs.core.Response updateRestSecuritySettings(RestSecuritySettings restSecuritySettings)
          The REST endpoint to update security settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REST_PATH

public static final String REST_PATH
See Also:
Constant Field Values
Constructor Detail

SecuritySettingsResource

public SecuritySettingsResource(RestSecuritySettingsService restSecuritySettingsService,
                                com.atlassian.sal.api.ApplicationProperties applicationProperties)
Method Detail

getSecuritySettings

public RestSecuritySettings getSecuritySettings()
The REST endpoint to retrieve security settings.

Returns:
RestSecuritySettings

updateRestSecuritySettings

public javax.ws.rs.core.Response updateRestSecuritySettings(RestSecuritySettings restSecuritySettings)
                                                     throws WebValidationException,
                                                            org.quartz.SchedulerException
The REST endpoint to update security settings.

Parameters:
restSecuritySettings - Settings to be updated. Partial update supported
Returns:
Status of the update operations and a link to the REST endpoint
Throws:
WebValidationException - If there is a validation error. This maps to a 400 Bad request reponse.
org.quartz.SchedulerException - If there is a problem with the scheduler


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.