Class FetchThroughMetadataCacheTest


  • public class FetchThroughMetadataCacheTest
    extends Object
    • Field Detail

      • cache

        private net.shibboleth.oidc.metadata.cache.impl.FetchThroughMetadataCache<com.nimbusds.oauth2.sdk.id.Issuer,​com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata> cache
        The cache.
      • defaultFetchStrategy

        @Nonnull
        private Function<CriteriaSet,​com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata> defaultFetchStrategy
        A default fetching strategy.
    • Constructor Detail

      • FetchThroughMetadataCacheTest

        public FetchThroughMetadataCacheTest()
    • Method Detail

      • testSuccessfullFetch

        public void testSuccessfullFetch()
                                  throws Exception
        Throws:
        Exception
      • testNotInitialized

        public void testNotInitialized()
                                throws Exception
        Throws:
        Exception
      • testUnSuccessfullFetch

        public void testUnSuccessfullFetch()
                                    throws Exception
        Throws:
        Exception
      • testFilteredMetadata

        public void testFilteredMetadata()
                                  throws Exception
        Throws:
        Exception
      • testIdentifierExtractionFailed

        public void testIdentifierExtractionFailed()
                                            throws Exception
        Throws:
        Exception
      • testCriteriaToIdentifierNull

        public void testCriteriaToIdentifierNull()
                                          throws Exception
        Throws:
        Exception
      • testMetadataNotValid

        public void testMetadataNotValid()
                                  throws Exception
        Throws:
        Exception