Class JsonResourceMetadataResolver

    • Constructor Detail

      • JsonResourceMetadataResolver

        public JsonResourceMetadataResolver​(org.apereo.cas.configuration.model.support.saml.idp.SamlIdPProperties samlIdPProperties,
                                            org.apereo.cas.support.saml.OpenSamlConfigBean configBean)
    • Method Detail

      • resolve

        public java.util.Collection<? extends org.opensaml.saml.metadata.resolver.MetadataResolver> resolve​(org.apereo.cas.support.saml.services.SamlRegisteredService service,
                                                                                                            net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet)
        Description copied from interface: SamlRegisteredServiceMetadataResolver
        Resolve list.
        Specified by:
        resolve in interface SamlRegisteredServiceMetadataResolver
        Parameters:
        service - the service
        criteriaSet - the criteria set
        Returns:
        the list
      • isAvailable

        public boolean isAvailable​(org.apereo.cas.support.saml.services.SamlRegisteredService service)
        Description copied from interface: SamlRegisteredServiceMetadataResolver
        Is the resolver available and able to resolve metadata? This method may contact the metadata source checking for the source availability.
        Specified by:
        isAvailable in interface SamlRegisteredServiceMetadataResolver
        Parameters:
        service - the service
        Returns:
        true /false
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean