Package org.pac4j.saml.metadata
Class SAML2HttpUrlMetadataGenerator
java.lang.Object
org.pac4j.saml.metadata.BaseSAML2MetadataGenerator
org.pac4j.saml.metadata.SAML2HttpUrlMetadataGenerator
- 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
ConstructorsConstructorDescriptionSAML2HttpUrlMetadataGenerator(URL metadataUrl, org.apache.http.client.HttpClient httpClient) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolverfloatvoidsetMaxRefreshDelay(Duration maxRefreshDelay) voidsetMinRefreshDelay(Duration minRefreshDelay) voidsetRefreshDelayFactor(float refreshDelayFactor) booleanstoreMetadata(String metadata, 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
-
SAML2HttpUrlMetadataGenerator
-
-
Method Details
-
createMetadataResolver
protected org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver createMetadataResolver() throws Exception- Specified by:
createMetadataResolverin classBaseSAML2MetadataGenerator- Throws:
Exception
-
storeMetadata
- Throws:
Exception
-
getMetadataUrl
-
getRefreshDelayFactor
public float getRefreshDelayFactor() -
setRefreshDelayFactor
public void setRefreshDelayFactor(float refreshDelayFactor) -
getMaxRefreshDelay
-
setMaxRefreshDelay
-
getMinRefreshDelay
-
setMinRefreshDelay
-