Package org.pac4j.saml.metadata
Class SAML2FileSystemMetadataGenerator
java.lang.Object
org.pac4j.saml.metadata.BaseSAML2MetadataGenerator
org.pac4j.saml.metadata.SAML2FileSystemMetadataGenerator
- All Implemented Interfaces:
SAML2MetadataGenerator
Generates metadata object with standard values and overridden user defined values.
- Since:
- 4.0.1
- Author:
- Misagh Moayyed
-
Field Summary
Fields inherited from class org.pac4j.saml.metadata.BaseSAML2MetadataGenerator
assertionConsumerServiceUrl, authnRequestSigned, blackListedSignatureSigningAlgorithms, builderFactory, credentialProvider, defaultACSIndex, defaultSignatureSigningConfiguration, entityId, globalAlgorithmRegistry, logger, marshallerFactory, nameIdPolicyFormat, requestedAttributes, requestInitiatorLocation, responseBindingType, signatureAlgorithms, signatureReferenceDigestMethods, signMetadata, singleLogoutServiceUrl, wantAssertionSigned -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.opensaml.saml.metadata.resolver.impl.AbstractBatchMetadataResolvercreateMetadataResolver(org.springframework.core.io.Resource metadataResource) booleanstoreMetadata(String metadata, org.springframework.core.io.Resource metadataResource, boolean force) Methods inherited from class org.pac4j.saml.metadata.BaseSAML2MetadataGenerator
buildEntityDescriptor, buildMetadataResolver, buildNameIDFormat, buildSPSSODescriptor, generateMetadataExtensions, getAssertionConsumerService, getBlackListedSignatureSigningAlgorithms, getContactPersons, getCredentialProvider, getDefaultACSIndex, getEntityId, getKeyDescriptor, getMetadata, getMetadataSigner, getMetadataUIInfos, getNameIdPolicyFormat, getRequestedAttributes, getSignatureAlgorithms, getSignatureReferenceDigestMethods, getSingleLogoutService, getSupportedProtocols, isAuthnRequestSigned, isSignMetadata, isWantAssertionSigned, setAssertionConsumerServiceUrl, setAuthnRequestSigned, setBlackListedSignatureSigningAlgorithms, setContactPersons, setCredentialProvider, setDefaultACSIndex, setEntityId, setMetadataSigner, setMetadataUIInfos, setNameIdPolicyFormat, setRequestedAttributes, setRequestInitiatorLocation, setResponseBindingType, setSignatureAlgorithms, setSignatureReferenceDigestMethods, setSignMetadata, setSingleLogoutServiceUrl, setSupportedProtocols, setWantAssertionSigned, signMetadata
-
Constructor Details
-
SAML2FileSystemMetadataGenerator
public SAML2FileSystemMetadataGenerator()
-
-
Method Details
-
createMetadataResolver
protected org.opensaml.saml.metadata.resolver.impl.AbstractBatchMetadataResolver createMetadataResolver(org.springframework.core.io.Resource metadataResource) throws Exception - Specified by:
createMetadataResolverin classBaseSAML2MetadataGenerator- Throws:
Exception
-
storeMetadata
public boolean storeMetadata(String metadata, org.springframework.core.io.Resource metadataResource, boolean force) throws Exception - Throws:
Exception
-