Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25032

Repository authentication provider cannot be used with custom user classes

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2015.11, 5.4.6
    • 2015.09.1, 5.4.5
    • None
    • None

    Description

      I have a custom provider which uses a custom User class with DOES NOT extend eZ\Publish\Core\MVC\Symfony\Security\User class, but it DOES implement eZ\Publish\Core\MVC\Symfony\Security\UserInterface.

      Since I want to use eZ repository to check for user authentication, this combination is not possible since eZ Publish RepositoryAuthenticationProvider explicitly checks if user is an instance of eZ\Publish\Core\MVC\Symfony\Security\User class instead of checking for eZ\Publish\Core\MVC\Symfony\Security\UserInterface.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f8f4635f-c125-4f25-94af-5c94e74ef8c1@accounts.ibexa.co Edi Modrić
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: