Hi everyone,In the WSO2 web services framework for PHP, I want to use doctrine 2 to access to my database in the callback function to get the password of the user (I use WSS and the passwordCallback functionnality).
In my callback function, I try to use doctrine but it does not work.
Here the code of my callback function :
function get_my_password_function($mail)
{
$userOption =
$entityManager->getRepository('UserOption')->findOneBy(array('ysUserRowid'
=> '1'));
return $userOption->getPassword();
}
I know that the function is used because if I comment the code and
return a constant password, it works.
Do you have an idea ? Thanks a lot, have a nice day. -- Antoine Louiset
smime.p7s
Description: Signature cryptographique S/MIME
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
