Package com.atlassian.crowd.plugin.saml
Class DatabaseKeyStore
java.lang.Object
com.atlassian.crowd.plugin.saml.DatabaseKeyStore
Responsible for storing the encryption keypair in the database
- Since:
- 3.0.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDatabaseKeyStore
(PluginPropertyManager pluginPropertyManager, KeyDecoderEncoder keyDecoderEncoder, com.atlassian.beehive.ClusterLockService lockService, Integer keySize, KeyFactory keyFactory, KeyPairGenerator keyPairGenerator) -
Method Summary
-
Field Details
-
CLUSTER_LOCK_NAME
-
KEY_STORE_PROPERTY_PREFIX
- See Also:
-
PRIVATE_KEY_PROPERTY
- See Also:
-
PUBLIC_KEY_PROPERTY
- See Also:
-
-
Constructor Details
-
DatabaseKeyStore
public DatabaseKeyStore(PluginPropertyManager pluginPropertyManager, KeyDecoderEncoder keyDecoderEncoder, com.atlassian.beehive.ClusterLockService lockService, Integer keySize, KeyFactory keyFactory, KeyPairGenerator keyPairGenerator)
-
-
Method Details
-
getKeys
-
generateKeys
- Throws:
SAMLException
-
storeKeys
-
deleteKeys
public void deleteKeys()
-