Package com.atlassian.crowd.manager.sso
Class CrowdSamlConfigurationServiceImpl
java.lang.Object
com.atlassian.crowd.manager.sso.CrowdSamlConfigurationServiceImpl
- All Implemented Interfaces:
CrowdSamlConfigurationService,CrowdSamlConfigurationServiceInternal
@Transactional
public class CrowdSamlConfigurationServiceImpl
extends Object
implements CrowdSamlConfigurationServiceInternal
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCrowdSamlConfigurationServiceImpl(SamlSSOCertificateServiceInternal ssoCertificateService, PropertyManager propertyManager, com.atlassian.sal.api.ApplicationProperties applicationProperties, IdpMetadataGenerator metadataGenerator, com.atlassian.event.api.EventPublisher eventPublisher, KeyCertificatePairUtils keyCertificatePairUtils) -
Method Summary
Modifier and TypeMethodDescriptionGenerates and stores new pair of certificate and private key.
-
Field Details
-
SSO_URL_SUFFIX
- See Also:
-
-
Constructor Details
-
CrowdSamlConfigurationServiceImpl
public CrowdSamlConfigurationServiceImpl(SamlSSOCertificateServiceInternal ssoCertificateService, PropertyManager propertyManager, com.atlassian.sal.api.ApplicationProperties applicationProperties, IdpMetadataGenerator metadataGenerator, com.atlassian.event.api.EventPublisher eventPublisher, KeyCertificatePairUtils keyCertificatePairUtils)
-
-
Method Details
-
getKeyCertificatePairToSign
- Specified by:
getKeyCertificatePairToSignin interfaceCrowdSamlConfigurationServiceInternal- Returns:
- Private key/certificate pair used to sign/verify if found, none otherwise
-
getCertificateToVerifySignature
- Specified by:
getCertificateToVerifySignaturein interfaceCrowdSamlConfigurationService- Returns:
- certificate used to verify signature if found, none otherwise
-
regenerateCertificateAndPrivateKeyToSign
Description copied from interface:CrowdSamlConfigurationServiceGenerates and stores new pair of certificate and private key. After storing them, this pair will be used to sign/verify assertions.- Specified by:
regenerateCertificateAndPrivateKeyToSignin interfaceCrowdSamlConfigurationService- Returns:
- newly-generated certificate to verify signature
-
getConfiguration
- Specified by:
getConfigurationin interfaceCrowdSamlConfigurationService- Returns:
- SAML configuration if found, none otherwise
-
getMetadata
- Specified by:
getMetadatain interfaceCrowdSamlConfigurationService- Returns:
- Identity Providers metadata if found, none otherwise
- Throws:
InvalidGlobalSamlConfigurationException
-