@Named public class SamlConfigurationController extends Object
Constructor and Description |
---|
SamlConfigurationController(CrowdSamlConfigurationService configurationService,
KeyCertificatePairUtils keyCertificatePairUtils,
ApplicationManager applicationManager,
ApplicationSamlConfigurationService applicationSamlConfigurationService,
ApplicationFactory applicationFactory) |
Modifier and Type | Method and Description |
---|---|
Optional<FailedEntity> |
findDirectoryMappingsMismatch(long applicationId) |
ApplicationSamlConfigurationRestEntity |
getApplicationSamlConfiguration(long applicationId) |
IdpSamlConfigurationEntity |
getGlobalSamlConfiguration(boolean allowCertificateGeneration) |
String |
getIdpMetadata() |
ApplicationSamlConfigurationRestEntity |
parseMetadata(InputStream metadataXml) |
void |
resetConfiguration() |
void |
updateApplicationConfiguration(long applicationId,
ApplicationSamlConfigurationRestEntity entity) |
@Inject public SamlConfigurationController(CrowdSamlConfigurationService configurationService, KeyCertificatePairUtils keyCertificatePairUtils, ApplicationManager applicationManager, ApplicationSamlConfigurationService applicationSamlConfigurationService, ApplicationFactory applicationFactory)
public void resetConfiguration()
public IdpSamlConfigurationEntity getGlobalSamlConfiguration(boolean allowCertificateGeneration)
public ApplicationSamlConfigurationRestEntity getApplicationSamlConfiguration(long applicationId) throws ApplicationNotFoundException
ApplicationNotFoundException
public void updateApplicationConfiguration(long applicationId, ApplicationSamlConfigurationRestEntity entity) throws ApplicationNotFoundException, InvalidApplicationSamlConfigurationException, OperationFailedException
public ApplicationSamlConfigurationRestEntity parseMetadata(InputStream metadataXml)
public String getIdpMetadata() throws InvalidGlobalSamlConfigurationException
public Optional<FailedEntity> findDirectoryMappingsMismatch(long applicationId) throws Exception
Exception
Copyright © 2020 Atlassian. All rights reserved.