Skip to content

skocdopolet/symfony-security-test

Repository files navigation

Symfony security test

This repository has three branches. These branches have different authenticator providers.

Branches

  1. main: both authenticators Entity and LDAP and chain provider. First item in chain is Entity, second is LDAP
  2. Only-Entity: only Entity authenticator provider
  3. Only-LDAP: only LDAP authenticator provider

I try this scenarios in main branch:

  1. Authenticate with non existent user in both providers - OK
  2. Authenticate with user from entity and give bad password - OK
  3. Authenticate with user from entity and give good password - OK
  4. Authenticate with user from LDAP and give good password - THIS IS WRONG!!

I try this screnarios in Only-Entity branch:

  1. Authenticate with user from entity and give bad password - OK
  2. Authenticate with user from entity and give good password - OK

I try this screnarios in Only-Entity branch:

  1. Authenticate with user from LDAP and give bad password - OK
  2. Authenticate with user from LDAP and give good password - OK

Messages from profiller

Case 1

branch-main--auth-failure--nonexistent-user

Case 2

branch-main--entity-user--auth-failure--bad-password

Case 3

branch-main--entity-user--auth-success

Case 4

branch-main--ldap-user--auth-failure--good-password

Case 5

branch-only-entity--entity-user--auth-failure--bad-password

Case 6

branch-only-entity--entity-user--auth-success

Case 7

branch-only-ldap--ldap-user--auth-failure--bad-password

Case 8

branch-only-ldap--ldap-user--auth-success

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published