public interface ApplicationSamlConfigurationService
Modifier and Type | Method and Description |
---|---|
Optional<ApplicationSamlConfiguration> |
findByAssertionConsumerAndAudience(String assertionConsumerServiceURL,
String audience)
Returns the SAML SSO configuration for the specified assertion consumer url and audience.
|
Optional<ApplicationSamlConfiguration> |
loadConfigurationForApplication(Application application)
Returns the SAML SSO configuration for the specified application
|
BaseApplicationSamlConfiguration |
parseApplicationMetadata(InputStream metadataXml)
Parses SAML SSO configuration for an application based on the provided XML metadata.
|
void |
storeApplicationConfiguration(ApplicationSamlConfiguration configuration)
Creates or updates SAML SSO configuration for an application
|
Optional<ApplicationSamlConfiguration> loadConfigurationForApplication(Application application)
application
- the application for which the configuration should be fetchedvoid storeApplicationConfiguration(ApplicationSamlConfiguration configuration) throws InvalidApplicationSamlConfigurationException, OperationFailedException
configuration
- the configuration to save or updateInvalidApplicationSamlConfigurationException
OperationFailedException
Optional<ApplicationSamlConfiguration> findByAssertionConsumerAndAudience(String assertionConsumerServiceURL, String audience)
assertionConsumerServiceURL
- SSO application assertion consumer urlaudience
- SSO application audienceBaseApplicationSamlConfiguration parseApplicationMetadata(InputStream metadataXml)
metadataXml
- stream with XML metadata, will be closed by this methodIllegalArgumentException
- when input stream is not valid XML metadataCopyright © 2021 Atlassian. All rights reserved.