EduGAINFilter
From GEANT2-JRA1 Wiki
eduGAINFilter is a Tomcat filter developed by the eduGAIN crowd.
[edit]
Installing eduGAINFilter
- Uncompress edugain_conf.tar to a directory readable by the application server.
- Edit edugain_client.properties, in order to adapt the path of the files included in it.
- Edit filter_props.xml, and adapt the path of the corresponding keys.
- 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.
- Edit the web.xml file of the application in the following way:
- In eduGAINConfig parameter, specify the path to edugain_client.properties.
- In wfayfURL parameter, just change %host_name% to the base URL of the applicatioin server.
- In ciphersFile parameter, specify the path to filter_props.xml.
- In requestFile parameter, specify the path to request.db.
[edit]
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.
