Interface SAMLTrustDAO

All Known Implementing Classes:
SAMLTrustDAOHibernate

public interface SAMLTrustDAO
Allows storing and retrieving SAML trust entities (certificates and private keys in PEM format)
  • Method Details

    • addSamlTrustEntity

      SAMLTrustEntity addSamlTrustEntity(SAMLTrustEntity samlTrustEntity)
      Store new certificate and private key
      Parameters:
      samlTrustEntity - trust entity (certificate and private key) to store
      Returns:
      the newly-persisted SAML trust entity
    • findSamlTrustEntityById

      Optional<SAMLTrustEntity> findSamlTrustEntityById(long trustEntityId)
      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 type SAMLTrustEntity.