Package com.atlassian.crowd.dao.sso
Interface SAMLTrustDAO
public interface SAMLTrustDAO
Allows storing and retrieving SAML trust entities (certificates and private keys in PEM format)
-
Method Summary
Modifier and TypeMethodDescriptionaddSamlTrustEntity(SAMLTrustEntity samlTrustEntity) Store new certificate and private keyfindAll()Returns all stored entities of typeSAMLTrustEntity.findSamlTrustEntityById(long trustEntityId)
-
Method Details
-
addSamlTrustEntity
Store new certificate and private key- Parameters:
samlTrustEntity- trust entity (certificate and private key) to store- Returns:
- the newly-persisted SAML trust entity
-
findSamlTrustEntityById
- Parameters:
trustEntityId- the id of the trust entity (certificate and private key) to find- Returns:
- trust entity based on passed id if found, none otherwise
-
findAll
List<SAMLTrustEntity> findAll()Returns all stored entities of typeSAMLTrustEntity.
-