You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Call to a member function validateCredentials() on a non-object in /webapps/symfony-test/vendor/bundles/BeSimple/SsoAuthBundle/Security/Core/Authentication/Token/SsoToken.php on line 39
#16
Closed
david42 opened this issue
Mar 12, 2012
· 5 comments
I have this error with URL ^/crud (access_control), the other URL are ok.
If I use the provider "in-memory" and not "user_db", I don't have this problem.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
In my entity user, my method :
public function equals(UserInterface $user)
{
}
was empty, I add :
public function equals(UserInterface $user)
{
return $this->getUsername() == $user->getUsername();
}
I use now symfony 2.1.x
And I have yet this problem.
I saw the documentation, and with symfony 2.1 the equals method has been renamed in " isEqualTo" and it's implemented by EquatableInterface.
It is obliged to implements this method in the user entity?
I tried with:
public function isEqualTo(UserInterface $user)
{
return $this->getUsername() == $user->getUsername();
}
but I have the same error, $this->getUsername() is null.
Hi,
I installed this bundle.
My security.yml :
security:
I have this error with URL ^/crud (access_control), the other URL are ok.
If I use the provider "in-memory" and not "user_db", I don't have this problem.
Thanks for your help.
The text was updated successfully, but these errors were encountered: