Package org.pac4j.saml.metadata
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 TypeMethodDescriptionorg.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
buildMetadataResolver.
- Returns:
- a
MetadataResolver
object - Throws:
Exception
- if any.
-
getMetadata
String getMetadata(org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor) throws Exception getMetadata.
-
buildEntityDescriptor
org.opensaml.saml.saml2.metadata.EntityDescriptor buildEntityDescriptor()buildEntityDescriptor.
- Returns:
- a
EntityDescriptor
object
-
storeMetadata
storeMetadata.
-