Download the PHP package gauss-allianz/shibboleth-authentication-bundle without Composer
On this page you can find all versions of the php package gauss-allianz/shibboleth-authentication-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gauss-allianz/shibboleth-authentication-bundle
More information about gauss-allianz/shibboleth-authentication-bundle
Files in gauss-allianz/shibboleth-authentication-bundle
Package shibboleth-authentication-bundle
Short Description Bundle for Shibboleth authentication in Symfony for Service Provider (SP) applications.
License Apache-2.0
Informations about the package shibboleth-authentication-bundle
ShibbolethAuthenticationBundle
Introduction
Shibboleth is a Single-Sign-On system made for web services. For more information about Shibboleth see https://www.shibboleth.net/.
This bundle provides an authenticator to use the authentication mechanism of Symfony 5.3+. If your legacy application relies on the guard authentication mechanism, see the following repositories for more information.
- Symfony Version 4.2 you should see https://gitlab.com/kury/ShibbolethGuardBundle/tree/symfony4 (other branch).
- Symfony Version 3.4 you should see https://gitlab.com/kury/ShibbolethGuardBundle/tree/symfony34 (other branch).
- Symfony Version 2.8 you should see https://github.com/roenschg/ShibbolethGuardBundle.
- Symfony previous Version 2.8 you should see https://github.com/roenschg/ShibbolethBundle.
Installation
-
Install this bundle by using composer
-
Create your own user provider, which implements the
ShibbolethUserProviderInterface - (Optionally) Create and register an Exception Listener
Configuration
-
Configure the Shibboleth authentication bundle to your needs at
config/packages/shibboleth_authentication.yaml -
Add service declaration for your user provider in
config/services.yaml - Configure your firewall to your needs at
config/packages/security.yaml
How to test Shibboleth authentication locally in your development environment
Service Provider for dev environment
1. Register your (test) Service Provider within your AAI/at your Identity Provider
2. Configure your web server to use Shibboleth authentication
3. Configure Shibboleth
4. Create certificates for your domain (and configure it in the web server) and the shibboleth communication
5. (Add entry for your SP domain in your '/etc/hosts' (Linux))
Setting up a local IdP/SP (test) infrastructure can therefore be a very time-consuming job, but you can test and debug the interaction with your identity provider. For more information about the Shibboleth configuration, see Shibboleth Service provider documentation https://shibboleth.atlassian.net/wiki/spaces/SP3/overview.
Simulate shibboleth authentication within your web server
An easier way to test your functionality on your local system is to simulate the shibboleth authentication. If you know which information is usually sent from your identity provider to the Shibboleth daemon, then you can use Apaches Setenv directive or Nginx fastcgi_param to adopt this.
All versions of shibboleth-authentication-bundle with dependencies
ext-xml Version *
symfony/security-bundle Version ^6|^7
symfony/routing Version ^6|^7
symfony/translation-contracts Version ^3.0