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
-
Constructor Summary
ConstructorDescriptionCrowdSamlConfigurationServiceImpl
(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:
getKeyCertificatePairToSign
in interfaceCrowdSamlConfigurationServiceInternal
- Returns:
- Private key/certificate pair used to sign/verify if found, none otherwise
-
getCertificateToVerifySignature
- Specified by:
getCertificateToVerifySignature
in interfaceCrowdSamlConfigurationService
- Returns:
- certificate used to verify signature if found, none otherwise
-
regenerateCertificateAndPrivateKeyToSign
Description copied from interface:CrowdSamlConfigurationService
Generates and stores new pair of certificate and private key. After storing them, this pair will be used to sign/verify assertions.- Specified by:
regenerateCertificateAndPrivateKeyToSign
in interfaceCrowdSamlConfigurationService
- Returns:
- newly-generated certificate to verify signature
-
getConfiguration
- Specified by:
getConfiguration
in interfaceCrowdSamlConfigurationService
- Returns:
- SAML configuration if found, none otherwise
-
getMetadata
- Specified by:
getMetadata
in interfaceCrowdSamlConfigurationService
- Returns:
- Identity Providers metadata if found, none otherwise
- Throws:
InvalidGlobalSamlConfigurationException
-