EduGAINFilter

From GEANT2-JRA1 Wiki

eduGAINFilter is a Tomcat filter developed by the eduGAIN crowd.

Installing eduGAINFilter

  1. Uncompress edugain_conf.tar to a directory readable by the application server.
  2. Edit edugain_client.properties, in order to adapt the path of the files included in it.
  3. Edit filter_props.xml, and adapt the path of the corresponding keys.
  4. Deploy the application eduGAINFilter.war in your application server. Note that the deployment will fail, due to some invalid parameters. To solve this, go to step 5.
  5. Edit the web.xml file of the application in the following way:
    1. In eduGAINConfig parameter, specify the path to edugain_client.properties.
    2. In wfayfURL parameter, just change %host_name% to the base URL of the applicatioin server.
    3. In ciphersFile parameter, specify the path to filter_props.xml.
    4. In requestFile parameter, specify the path to request.db.

Testing eduGAINFilter

In order to use eduGAINFilter, try accessing:

   http://my.host.com:port/eduGAINFilter/MyServlet

You will be redirected to the WFAYF server; there, choose a federation where you have an account. If this is not possible, you may use:
- RedIRIS (stable) -> user: marendo, password: papirendo
- SWITCHaai -> AAI Test Home Organization -> user: demouser, password: demo

You should see a page with all the attributes sent with the response.

Personal tools