Blame | Last modification | View Log | Download
security:password_hashers:App\Entity\User: autoproviders:chain_provider:chain:providers: [kimai_internal,kimai_ldap]kimai_internal:entity:class: App\Entity\Userkimai_ldap:id: App\Ldap\LdapUserProviderfirewalls:dev:pattern: ^/(_(profiler|wdt)|css|images|js)/security: falseapi:request_matcher: App\API\Authentication\ApiRequestMatcheruser_checker: App\Security\UserCheckerstateless: trueremember_me: falseprovider: chain_providercustom_authenticators:- App\API\Authentication\TokenAuthenticatorsecured_area:kimai_ldap: ~pattern: ^/user_checker: App\Security\UserCheckerstateless: falseentry_point: form_logincustom_authenticators:- App\API\Authentication\SessionAuthenticator- App\Saml\SamlAuthenticatorremember_me:secret: '%kernel.secret%'lifetime: 604800path: /always_remember_me: true# activate all configured user providerprovider: chain_providerform_login:check_path: security_checklogin_path: loginenable_csrf: truetwo_factor:auth_form_path: 2fa_logincheck_path: 2fa_login_checkremember_me_sets_trusted: truelogout:path: logouttarget: homepageenable_csrf: truelogin_throttling:max_attempts: 5interval: '5 minutes'login_link:check_route: link_login_checksignature_properties: ['id']lifetime: 300max_uses: 1access_decision_manager:strategy: unanimousallow_if_all_abstain: falserole_hierarchy:ROLE_USER: ~ROLE_TEAMLEAD: ROLE_USERROLE_ADMIN: ROLE_TEAMLEADROLE_SUPER_ADMIN: ROLE_ADMINaccess_control:- { path: '^/auth/2fa', role: IS_AUTHENTICATED_2FA_IN_PROGRESS }- { path: '^/auth', roles: PUBLIC_ACCESS }- { path: '^/(%app_locales%)$', role: PUBLIC_ACCESS }- { path: '^/(%app_locales%)/auth', role: PUBLIC_ACCESS }- { path: '^/(%app_locales%)/login', role: PUBLIC_ACCESS }- { path: '^/(%app_locales%)/register', role: PUBLIC_ACCESS }- { path: '^/(%app_locales%)/resetting', role: PUBLIC_ACCESS }- { path: '^/(%app_locales%)/', roles: ROLE_USER }- { path: '^/api', roles: IS_AUTHENTICATED_REMEMBERED }when@test:# this configuration simplifies testing URLs protected by the security mechanism# See https://symfony.com/doc/current/cookbook/testing/http_authentication.htmlsecurity:password_hashers:App\Entity\User:algorithm: auto# see https://github.com/symfony/recipes/pull/1026cost: 4 # Lowest possible value for bcrypttime_cost: 3 # Lowest possible value for argonmemory_cost: 10 # Lowest possible value for argonfirewalls:secured_area:http_basic: ~