Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No listen to ldap.authentication.before #53

Open
cesarluna opened this issue Jun 3, 2019 · 0 comments
Open

No listen to ldap.authentication.before #53

cesarluna opened this issue Jun 3, 2019 · 0 comments

Comments

@cesarluna
Copy link

Iam use DAP Authentication with the FOSUserBundle e but not working event ldap.authentication.before
`security:
hide_user_not_found: false
encoders:
FOS\UserBundle\Model\UserInterface: bcrypt

# https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
providers:
    fos_userbundle:
        id: fos_user.user_provider.username

in_memory:

memory: ~

firewalls:
    # disables authentication for assets and the profiler, adapt it according to your needs
    dev:
        pattern: ^/(_(profiler|wdt)|css|images|js)/
        security: false

    main:
        pattern: ^/
        form_login:
            provider: fos_userbundle
            csrf_token_generator: security.csrf.token_manager
            default_target_path: /admin

        logout:       true
        guard:
            authenticators:
                - ldap_tools.security.ldap_guard_authenticator
        anonymous:    true`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant