The configuration sections in the Shibboleth configuration file apache.config (for Apache 1.3) or apache2.config (for Apache 2.0) as part of the Apache server configuration file httpd.conf for setting up 4 locations for testing purposes:
<Location /public> </Location> <Location /simple> AuthType Basic AuthName "Basic Authentication" require valid-user AuthUserFile APACHE_HOME/conf/user.db </Location> <Location /shibsecure> AuthType shibboleth ShibRequireSession On require valid-user </Location> <Location /secure2> AuthType shibboleth PermisAuthorization ShibRequireSession On require valid-user </Location>
Please note that location </public> contains no directives so it's public to any user.
Please note, to create the Authentication User File APACHE_HOME/conf/user.db for Apache basic authentication, you should use the Apache tool htpasswd at the Shibboleth target site computer:
cd APACHE_HOME/conf/ APACHE_HOME/bin/htpasswd -cb user.db User0 User0
This will create a username/password pair User0/User0 in the file user.db. To add one more username/password, you should use the command:
cd APACHE_HOME/conf/ APACHE_HOME/bin/htpasswd -b user.db User1 User1
This will add a username/password pair User1/User1 in the file user.db.
If you have any further queries regarding PERMIS SAAM, please contact either:
Wensheng Xu at w.xu@kent.ac.uk
or
Alexander Otenko at: o.otenko@kent.ac.uk