Skip to content

[SecurityBundle] something is broken after recent commits #21809

Closed
@antanas-arvasevicius

Description

@antanas-arvasevicius
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3.0-dev

Today we've got build error in our system:
Restored to last worked version on 'd69bb304001e57e00678b86e8e499067889db538'
Hope this info will help to spot a problem.

[04:39:32][Ant output]      [exec]      [exec] > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
[04:39:32][Ant output]      [exec]      [exec] 
[04:39:32][Ant output]      [exec]      [exec] 
[04:39:32][Ant output]      [exec]      [exec]   [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
[04:39:32][Ant output]      [exec]      [exec]   The service "security.authentication.provider.simple_form.default" has a de
[04:39:32][Ant output]      [exec]      [exec]   pendency on a non-existent service "security.user.provider.concrete.carrier
[04:39:32][Ant output]      [exec]      [exec]   User".

Our security.yml:

security:
    providers:
        carrierUser:
            entity:
                class: System\Entity\CarrierUser
                property: email

    erase_credentials: false
    firewalls:
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false

        default:
            anonymous: ~
            provider: carrierUser
            simple-form:
                check_path: /login_check
                require_previous_session: false
                authenticator: tms.security.authentication.provider
                failure_handler: auth.failure_handler
                failure_forward: true
                failure_path: false

    encoders:
        System\Entity\CarrierUser: bcrypt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions