class AzureAdResourceRetriever extends DefaultResourceRetriever implements ResourceRetriever {
    /** {@inheritDoc} */
    @Override
    public Resource retrieveResource(final URL url) throws IOException {<FILL_FUNCTION_BODY>}
}

        val ret = super.retrieveResource(url);
        return new Resource(ret.getContent().replace("{tenantid}", "%7Btenantid%7D"), ret.getContentType());
    
<methods>public void <init>() ,public void <init>(int, int) ,public void <init>(int, int, int) ,public void <init>(int, int, int, boolean) ,public void <init>(int, int, int, boolean, javax.net.ssl.SSLSocketFactory) ,public boolean disconnectsAfterUse() ,public java.net.Proxy getProxy() ,public com.nimbusds.jose.util.Resource retrieveResource(java.net.URL) throws java.io.IOException,public void setDisconnectsAfterUse(boolean) ,public void setProxy(java.net.Proxy) <variables>private boolean disconnectAfterUse,private java.net.Proxy proxy,private final javax.net.ssl.SSLSocketFactory sslSocketFactory