@Named public class SsoConfigResourceService extends Object
SsoConfigResource| Constructor and Description |
|---|
SsoConfigResourceService(SsoConfigService configService) |
| Modifier and Type | Method and Description |
|---|---|
SsoConfigEntity |
getConfig()
Obtain the current config as
SsoConfigEntity. |
SsoConfigEntity |
updateConfig(SsoConfigEntity entity)
Update configuration of SSO from the data from
SsoConfigEntity. |
@Inject public SsoConfigResourceService(SsoConfigService configService)
@Nonnull public SsoConfigEntity getConfig()
SsoConfigEntity.@Nonnull public SsoConfigEntity updateConfig(@Nonnull SsoConfigEntity entity)
SsoConfigEntity.
The entity may provide all the necessary fields to configure SSO, but it may also provide partial data to be updated. The latter behaviour will only work if the SSO protocol remains unchanged after the update.
InvalidConfigException - if the config is invalid due to user input errorsIllegalArgumentException - if the config is invalid due to wrong usage of the REST APIInsecureUrlException - if HTTPS protocol is not usedInvalidLicenseException - if the current product license does not allow the given SSO setupCopyright © 2023 Atlassian. All rights reserved.