Casifying jAPS - (Java Agile Portal System)
jAPS Lab has integrated CAS server into the jAPS 2.0 platform. The jAPS team is also developing a plugin for the integration of a portal based on the jAPS 2.0 platform in the context of SSO based on CAS server.
jAPS 2.0 is an Open Source professional web based platform to build informative, collaborative and service-based Internet and Intranet portals, complying with accessibility requirements of W3C WCAG standards. The CAS integration solution at the time is in production for government and private organizations.
You can integrate CAS and jAPS 2.0 installing the plugin jpcasclient (which will be released in a few months) or integrate it by yourself following the instructions of this document.
You may find more informations on the jAPS 2.0 dev-site http://dev.japsportal.org/ and on the jAPS 2.0 mailing lists.
The following is a little summary about how to integrate CAS into jAPS 2.0: (http://dev.japsportal.org/
The authentication process in the jAPS 2.0 framework is managed by a subservice for the front-end and by a dedicated Struts2 action for the back-end (this action also manages the logout procedure).
So the CAS integration is made by properly extending the subservice and the action. Actually you need to extend two subservices:
- the one that verifies the authorization for the current request
- the one that manages the authentication.
The first one redirects to the CAS login page a user who is not authorized. The second loads the user info into the session. The user information is assumed from the result of the ticket validation filter (managed by the CAS standard client filter for ticket validation).
The logout method must unload the user from the session and redirect the client/browser to the CAS logout page in order to destroy also its single-sign-on session.
Giovanni Cocco
jAPS Team