0
0
Fork 0
mirror of https://github.com/kevinpapst/kimai2.git synced 2025-04-02 04:27:56 +00:00
kevinpapst_kimai2/config/services-saml.yaml
Kevin Papst 7f20cb045c
Refactor authentication system (#2602)
Make auth configuration available via UI, remove FOSUserBundle and SAML-Bundle dependency
2021-06-10 15:34:13 +02:00

18 lines
730 B
YAML

# ================================================================================
# SAML Services
# ================================================================================
services:
kimai.saml_listener:
class: App\Saml\Firewall\SamlListener
parent: security.authentication.listener.abstract
abstract: true
calls:
- [setAuth, ['@App\Saml\SamlAuthFactory']]
App\Saml\Provider\SamlProvider:
arguments: ['@App\Repository\UserRepository', '', '@App\Saml\SamlTokenFactory', '@App\Saml\User\SamlUserFactory', '@App\Configuration\SystemConfiguration']
App\Saml\Security\SamlAuthenticationSuccessHandler:
parent: security.authentication.success_handler