|Search Duke CSL||
Setting up a basic Shibboleth page is very simple and can be done
using .htaccess files. In the directory requiring
authentication, create an
.htaccess file with the
AuthType shibboleth ShibRequireSession On Require user email@example.com firstname.lastname@example.org email@example.com
This file will grant access only to users whose Duke NetIDs are
mary. Note that
the user must be specficied as
NetID@duke.edu to work properly.
If you wish to allow access to any valid Duke user, change the last line as shown in this example:
AuthType shibboleth ShibRequireSession On Require valid-user
For users who wish to provide more detailed access, Shibboleth will return several variable in the SERVER array, which can be accessed by web applications. To see a list of these variables, you can authenticate with this example page. If you have any questions about how to implement this, please contact the Lab Staff for more details.