Interface SAML2MetadataGenerator

All Known Implementing Classes:
BaseSAML2MetadataGenerator, SAML2FileSystemMetadataGenerator, SAML2HttpUrlMetadataGenerator, SAML2JdbcMetadataGenerator, SAML2MongoMetadataGenerator

public interface SAML2MetadataGenerator
Builds metadata and the relevant resolvers.
Author:
Misagh Moayyed
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensaml.saml.saml2.metadata.EntityDescriptor
    buildEntityDescriptor.
    org.opensaml.saml.metadata.resolver.MetadataResolver
    buildMetadataResolver.
    getMetadata(org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor)
    getMetadata.
    boolean
    storeMetadata(String metadata, boolean force)
    storeMetadata.
  • Method Details

    • buildMetadataResolver

      org.opensaml.saml.metadata.resolver.MetadataResolver buildMetadataResolver() throws Exception

      buildMetadataResolver.

      Returns:
      a MetadataResolver object
      Throws:
      Exception - if any.
    • getMetadata

      String getMetadata(org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor) throws Exception

      getMetadata.

      Parameters:
      entityDescriptor - a EntityDescriptor object
      Returns:
      a String object
      Throws:
      Exception - if any.
    • buildEntityDescriptor

      org.opensaml.saml.saml2.metadata.EntityDescriptor buildEntityDescriptor()

      buildEntityDescriptor.

      Returns:
      a EntityDescriptor object
    • storeMetadata

      boolean storeMetadata(String metadata, boolean force) throws Exception

      storeMetadata.

      Parameters:
      metadata - a String object
      force - a boolean
      Returns:
      a boolean
      Throws:
      Exception - if any.