Package org.pac4j.saml.metadata
Interface SAML2MetadataGenerator
-
- All Known Implementing Classes:
BaseSAML2MetadataGenerator
,SAML2FileSystemMetadataGenerator
,SAML2HttpUrlMetadataGenerator
public interface SAML2MetadataGenerator
Builds metadata and the relevant resolvers.- Author:
- Misagh Moayyed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opensaml.saml.saml2.metadata.EntityDescriptor
buildEntityDescriptor()
org.opensaml.saml.metadata.resolver.MetadataResolver
buildMetadataResolver(org.springframework.core.io.Resource metadataResource)
java.lang.String
getMetadata(org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor)
boolean
storeMetadata(java.lang.String metadata, org.springframework.core.io.Resource resource, boolean force)
-
-
-
Method Detail
-
buildMetadataResolver
org.opensaml.saml.metadata.resolver.MetadataResolver buildMetadataResolver(org.springframework.core.io.Resource metadataResource) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getMetadata
java.lang.String getMetadata(org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildEntityDescriptor
org.opensaml.saml.saml2.metadata.EntityDescriptor buildEntityDescriptor()
-
storeMetadata
boolean storeMetadata(java.lang.String metadata, org.springframework.core.io.Resource resource, boolean force) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-