Play 2.x : Java & Scala CAS Clients

There exists new CAS client for Play framework 2.x in Java and Scala: https://github.com/leleuj/play-pac4j.

Dependencies

  • play-pac4j_java for Java projects in Play 2.0 or 2.1
  • play-pac4j_scala2.9 for Scala projects in Play 2.0
  • play-pac4j_scala2.10 for Scala projects in Play 2.1
  • pac4j-cas (for CAS support as play-pac4j also supports OAuth, OpenID and HTTP protocols)

Features

The CAS protocol is fully supported with :

  •  CAS 1.0, CAS 2.0, SAML ticket validation, proxy ticket validation
  •  CAS proxification
  •  logout request handler.

 

Demos

To get started, two demos are available for Java & Scala :