This plugin parses the matriculate number from WebSSO for the Leibniz University Hanover, it also sets the login {USERNAME} as the LUH-ID instead of the default ILIAS Shibboleth login prefix: {firstname.lastname}
ILIAS 10:
Customizingnow lives under thepublic/document root. The Shibboleth plugin slot path itself is unchanged.
In your {ILIAS Root} directory
mkdir -p public/Customizing/global/plugins/Services/AuthShibboleth/ShibbolethAuthenticationHook
cd public/Customizing/global/plugins/Services/AuthShibboleth/ShibbolethAuthenticationHook
git clone https://github.com/iFadi/LUHShibAuth.gitNow check out a specific tag:
git checkout v2.0.0Rebuild the autoloader classmap so ILIAS finds the plugin's classes. From the {ILIAS Root}:
composer duGoto "Administration -> Extending ILIAS -> Plugins" and install and activate the plugin.
Goto "Administration -> Authentication -> Shibboleth" and configure user profile mapping "Attribut für Matrikelnummer => schacPersonalUniqueCode"
Choose "Update this field on login" if the matriculation field should be modified on every login request.
Debug messages are triggered with "component log level" DEBUG in "Administration -> Logging".
If you do not see the plugin under "Administration -> Extending ILIAS -> Plugins", run composer du
in your {ILIAS Root} again and check for errors.
- v10.x
masternow targets ILIAS 10. For ILIAS 8 use thev1.xtags.
Versions are maintained manually (the authoritative version is plugin.php):
- Bump
$versioninplugin.phpand adjust$ilias_min_version/$ilias_max_versionif needed. - Add a
## Changelogentry below. - Commit, then tag and push:
git tag -a vX.Y.Z -m "vX.Y.Z" && git push origin vX.Y.Z.
- ILIAS 10 compatibility: target
ilias_min_version10.0 /ilias_max_version10.999 - Drop the obsolete
include_onceof the base class (autoloaded; its source moved tocomponents/ILIAS/AuthShibboleth/in ILIAS 10) - Docs: install under
public/Customizing/..., rebuild classmap withcomposer du
- Refactoring logging for ILIAS 8
- Add falling back mechanism to the default ILIAS login, if "ext_account" is not available
- Login/Username is now all in capital