Background:
We currently have a fully functional CAS implementation using JSP, but want to migrate it to a PHP implementation.
Currently, we have a central CAS server that authenticates the user and redirects them to a landing page(in JSP), which then takes their authentication data and passes it onto a third-party-application.
In this JSP we use the following snippet to retrieve the user's data
String usr = request.getParameter("id");
String nid = session.getAttribute("netid");
Question
How do I retrieve this information using PHP?
I have tried doing:
- $_GET
- $_POST
- $_REQUEST
- $_SESSION
and more.
I have a feeling that I may need to install phpCAS in order to do this, but do not want to do so unless absolutely necessary.
Thank you for your time.