Package com.atlassian.crowd.manager.sso
Interface CrowdSamlConfigurationService
- All Known Subinterfaces:
CrowdSamlConfigurationServiceInternal
public interface CrowdSamlConfigurationService
A service for managing global SAML configuration.
- Since:
- 3.4.0
-
Method Summary
Modifier and TypeMethodDescriptionGenerates and stores new pair of certificate and private key.
-
Method Details
-
getCertificateToVerifySignature
Optional<X509Certificate> getCertificateToVerifySignature()- Returns:
- certificate used to verify signature if found, none otherwise
-
regenerateCertificateAndPrivateKeyToSign
X509Certificate regenerateCertificateAndPrivateKeyToSign()Generates and stores new pair of certificate and private key. After storing them, this pair will be used to sign/verify assertions.- Returns:
- newly-generated certificate to verify signature
-
getConfiguration
Optional<SamlConfiguration> getConfiguration()- Returns:
- SAML configuration if found, none otherwise
-
getMetadata
- Returns:
- Identity Providers metadata if found, none otherwise
- Throws:
InvalidGlobalSamlConfigurationException
-