Some more info: Other than David's guide, you can also see the dependency documented in CAS official documentation (
https://apereo.github.io/cas/5.3.x/installation/Configuring-SAML2-Authentication.html#configuration)
As for the question of CAS 5.2.x and 5.3.x, from my point of view:
5.2.x:
- 5.2.x is out for longer (9 months when this comment is posted) so people have tried it out more thoroughly and many bugs have been patched out.
5.3.x:
- have the latest features
I would suggest using 5.3.x, because 5.3.x have quite significant improvement toward some components, which would never be added back to 5.2.x.
Cheers!
- Andy