Class MockJwksRetriever

  • All Implemented Interfaces:
    JwksRetriever

    public class MockJwksRetriever
    extends java.lang.Object
    implements JwksRetriever

    Mock JwksRetriever.

    Typically this would be HTTPS call to JWT authority server.

    Author:
    Daniel Sagenschneider
    • Constructor Detail

      • MockJwksRetriever

        public MockJwksRetriever()
    • Method Detail

      • retrieveJwks

        public java.io.InputStream retrieveJwks()
                                         throws java.lang.Exception
        Description copied from interface: JwksRetriever
        Retrieves the JWKS content.
        Specified by:
        retrieveJwks in interface JwksRetriever
        Returns:
        InputStream to the JWKS content.
        Throws:
        java.lang.Exception - If fails to retrieve the JWKS content.