Refactor authentication system (#2602)

Make auth configuration available via UI, remove FOSUserBundle and SAML-Bundle dependency
This commit is contained in:
Kevin Papst
2021-06-10 15:34:13 +02:00
committed by GitHub
parent 286b63e2c8
commit 7f20cb045c
155 changed files with 5590 additions and 1802 deletions

View File

@@ -9,8 +9,31 @@
namespace App\Tests\Security;
use FOS\UserBundle\Model\User;
use Symfony\Component\Security\Core\User\UserInterface;
class TestUserEntity extends User
class TestUserEntity implements UserInterface
{
public function getRoles()
{
return [];
}
public function getPassword()
{
return null;
}
public function getSalt()
{
return null;
}
public function getUsername()
{
return 'foo';
}
public function eraseCredentials()
{
}
}