Class SamlConfigurationController
java.lang.Object
com.atlassian.crowd.plugin.rest.service.controller.SamlConfigurationController
-
Constructor Summary
ConstructorDescriptionSamlConfigurationController
(CrowdSamlConfigurationService configurationService, KeyCertificatePairUtils keyCertificatePairUtils, ApplicationManager applicationManager, ApplicationSamlConfigurationService applicationSamlConfigurationService, ApplicationFactory applicationFactory) -
Method Summary
Modifier and TypeMethodDescriptionfindDirectoryMappingsMismatch
(long applicationId) getApplicationSamlConfiguration
(long applicationId) getGlobalSamlConfiguration
(boolean allowCertificateGeneration) parseMetadata
(InputStream metadataXml) void
void
updateApplicationConfiguration
(long applicationId, ApplicationSamlConfigurationRestEntity entity)
-
Constructor Details
-
SamlConfigurationController
@Inject public SamlConfigurationController(CrowdSamlConfigurationService configurationService, KeyCertificatePairUtils keyCertificatePairUtils, ApplicationManager applicationManager, ApplicationSamlConfigurationService applicationSamlConfigurationService, ApplicationFactory applicationFactory)
-
-
Method Details
-
resetConfiguration
public void resetConfiguration() -
getGlobalSamlConfiguration
-
getApplicationSamlConfiguration
public ApplicationSamlConfigurationRestEntity getApplicationSamlConfiguration(long applicationId) throws ApplicationNotFoundException - Throws:
ApplicationNotFoundException
-
updateApplicationConfiguration
public void updateApplicationConfiguration(long applicationId, ApplicationSamlConfigurationRestEntity entity) throws ApplicationNotFoundException, InvalidApplicationSamlConfigurationException, OperationFailedException -
parseMetadata
-
getIdpMetadata
-
findDirectoryMappingsMismatch
- Throws:
Exception
-