Skip to content

Rudjer-Boskovic-Institute/Eprints-AAI-EduHr-Auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

EPrints webserver + SAML authentication inspired by Shibboleth example: http://wiki.eprints.org/w/Webserver_authentication#Add_the_login_script

INSTALLATION INSTRUCTIONS

*** Backup everything first.. I cannot be responsible for eventual damage.

Requirements

After installing/configuring requirements put "login" script somewhere in your archive directory eg. $EPRINTS_ROOT/archives/$ARCHIVE_ID/aaieduhr/login

Configure apache to 'secure' that location: eg.


    Alias /aaieduhr /usr/share/eprints3/archives/ARCHIVE_ID/aaieduhr
    <Directory "/usr/share/eprints3/archives/ARCHIVE_ID/aaieduhr">
            SetHandler perl-script
            PerlHandler ModPerl::Registry
            PerlSendHeader Off
            Options ExecCGI FollowSymLinks


            Auth_memCookie_Memcached_AddrPort "127.0.0.1:11211"

            Auth_memCookie_Authoritative on

            Auth_memCookie_SessionTableSize "40"

            AuthType Cookie
            AuthName "Eprints@ARCHIVE_ID"

            ErrorDocument 401 "/simplesaml/authmemcookie.php"

            Require valid-user

    </Directory>

Restart, test..

About

Eprints webserver authentication using auth_memcookie and simplesamlphp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages