Class SAML2HttpUrlMetadataGenerator

  • All Implemented Interfaces:
    SAML2MetadataGenerator

    public class SAML2HttpUrlMetadataGenerator
    extends BaseSAML2MetadataGenerator
    Generates metadata object with standard values and overridden user defined values.
    Since:
    4.0.1
    Author:
    Misagh Moayyed
    • Constructor Detail

      • SAML2HttpUrlMetadataGenerator

        public SAML2HttpUrlMetadataGenerator​(URL metadataUrl,
                                             org.apache.http.client.HttpClient httpClient)
    • Method Detail

      • storeMetadata

        public boolean storeMetadata​(String metadata,
                                     org.springframework.core.io.Resource resource,
                                     boolean force)
                              throws Exception
        Throws:
        Exception
      • getMetadataUrl

        public URL getMetadataUrl()
      • getRefreshDelayFactor

        public float getRefreshDelayFactor()
      • setRefreshDelayFactor

        public void setRefreshDelayFactor​(float refreshDelayFactor)
      • getMaxRefreshDelay

        public Duration getMaxRefreshDelay()
      • setMaxRefreshDelay

        public void setMaxRefreshDelay​(Duration maxRefreshDelay)
      • getMinRefreshDelay

        public Duration getMinRefreshDelay()
      • setMinRefreshDelay

        public void setMinRefreshDelay​(Duration minRefreshDelay)