How to download the jar/bundle file from AEM for a particular class Felix Console

While working on SAML, I found myself in situation where I wanted to see the code for the saml jar in AEM. When I searched for saml in /system/console/configMgr. I found that the jar was referring to version number 0.3.32.jar. The public repository of Adobe had the 0.2.22 jar as the latest version.

The trick to download the jar is to first locate the bundle that has the class file. I went to /system/console/bundles and looked for saml and found that the bundle hosting the class file had number 149. This can vary from system to system.

To download the jar/bundle from AEM you can go to the below location crx-quickstart/launchpad/felix/bundle149/version0.0.