duanliaozhi2915 2017-11-13 15:05
浏览 72

Symfony Fr3dLdapBundle的凭据错误

Hy ,

I m trying o install Fr3dLdapBundle on a Symfony application. here , are my configurations files :

Security.yml

security:    
erase_credentials: false
encoders:
    FOS\UserBundle\Model\UserInterface: bcrypt
    ModuleBundle\Entity\User: plaintext

role_hierarchy:
    ROLE_ADMIN:       ROLE_USER
    ROLE_SUPER_ADMIN: ROLE_ADMIN

providers:
    #fos_userbundle:
    #    id: fos_user.user_provider.username        
    chain_provider:
        chain:
            providers: [fr3d_ldapbundle,fos_userbundle]

    fr3d_ldapbundle:
        id: fr3d_ldap.security.user.provider

    fos_userbundle:
        id: fos_user.user_provider.username

firewalls:
    main:
        pattern: ^/
        fr3d_ldap:  ~
        form_login:
            #provider: fr3d_ldapbundle
            #csrf_provider: security.csrf.token_manager # Use form.csrf_provider instead for Symfony <2.4

            always_use_default_target_path: true
            default_target_path:            /mon-profil

        logout:       true
        anonymous:    true

access_control:
    - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
    - { path: ^/login$, role: ROLE_USER  }

    #- { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
    #- { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
    #- { path: ^/admin/, role: ROLE_ADMIN }

Config.yml

fr3d_ldap:
driver:
    host:         192.168.8.20
    username:     boff@tritech.local
    password:     ***************
    accountDomainName: tritech.local
    accountDomainNameShort: LOCAL

user:
    #baseDn: dc=USERS,dc=tritech,dc=local
    #baseDn: CN=boffuser,OU=Users,DC=tritech,DC=local
    baseDn: OU=Ecare,DC=tritech,DC=local
    filter: (&(ObjectClass=Person))
    attributes:
        - { ldap_attr: uid,  user_method: setUsername }    
        - { ldap_attr: mail,  user_method: setEmail  }    

But when i try to login using a form i got an error "invalid credentials" in log files , but , the username and password are corrects , could any one could help me to solve it please ?

Logfile:

    [2017-11-13 15:53:33] request.INFO: Matched route "fos_user_security_check". {"route_parameters":{"_controller":"FOS\\UserBundle\\Controller\\SecurityController::checkAction","_route":"fos_user_security_check"},"request_uri":"http://localhost/monusco/Monusco_old1/web/app_dev.php/login_check"} []
[2017-11-13 15:53:33] ldap_driver.DEBUG: ldap_search(OU=monusco,DC=tritech,DC=local, (&(&(ObjectClass=Person))(uid=boff)), [array]) {"action":"ldap_search","base_dn":"OU=monusco,DC=tritech,DC=local","filter":"(&(&(ObjectClass=Person))(uid=boff))","attributes":[]} []
[2017-11-13 15:53:33] ldap_driver.DEBUG: exception 'Zend\Ldap\Exception\LdapException' with message '0x31 (Invalid credentials; 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v23f0): LOCAL\boff' in C:\wamp\www\Monusco\Monusco_old1\vendor\zendframework\zend-ldap\src\Ldap.php:851 Stack trace: #0 C:\wamp\www\Monusco\Monusco_old1\vendor\zendframework\zend-ldap\src\Ldap.php(104): Zend\Ldap\Ldap->bind() #1 C:\wamp\www\Monusco\Monusco_old1\vendor\zendframework\zend-ldap\src\Ldap.php(929): Zend\Ldap\Ldap->getResource() #2 C:\wamp\www\Monusco\Monusco_old1\vendor\zendframework\zend-ldap\src\Ldap.php(1082): Zend\Ldap\Ldap->search('(&(&(ObjectClas...', 'OU=monusco,DC=t...', 1, Array, NULL, NULL, 0, 0) #3 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Driver\ZendLdapDriver.php(53): Zend\Ldap\Ldap->searchEntries('(&(&(ObjectClas...', 'OU=monusco,DC=t...', 1, Array) #4 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Ldap\LdapManager.php(40): FR3D\LdapBundle\Driver\ZendLdapDriver->search('OU=monusco,DC=t...', '(&(&(ObjectClas...') #5 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Ldap\LdapManager.php(31): FR3D\LdapBundle\Ldap\LdapManager->findUserBy(Array) #6 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Security\User\LdapUserProvider.php(34): FR3D\LdapBundle\Ldap\LdapManager->findUserByUsername('boff') #7 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Core\User\ChainUserProvider.php(49): FR3D\LdapBundle\Security\User\LdapUserProvider->loadUserByUsername('boff') #8 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Security\Authentication\LdapAuthenticationProvider.php(55): Symfony\Component\Security\Core\User\ChainUserProvider->loadUserByUsername('boff') #9 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider.php(68): FR3D\LdapBundle\Security\Authentication\LdapAuthenticationProvider->retrieveUser('boff', Object(Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken)) #10 C:\wamp\www\Monusco\Monusco_old1\app\cache\dev\classes.php(2729): Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider->authenticate(Object(Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken)) #11 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener.php(112): Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager->authenticate(Object(Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken)) #12 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener.php(144): Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener->attemptAuthentication(Object(Symfony\Component\HttpFoundation\Request)) #13 C:\wamp\www\Monusco\Monusco_old1\app\cache\dev\classes.php(2644): Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener->handle(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #14 [internal function]: Symfony\Component\Security\Http\Firewall->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #15 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\WrappedListener.php(61): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #16 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #17 C:\wamp\www\Monusco\Monusco_old1\app\cache\dev\classes.php(1873): call_user_func(Object(Symfony\Component\EventDispatcher\Debug\WrappedListener), Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #18 C:\wamp\www\Monusco\Monusco_old1\app\cache\dev\classes.php(1788): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #19 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher.php(138): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #20 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php(123): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #21 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php(62): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #22 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel.php(67): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(183): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 C:\wamp\www\Monusco\Monusco_old1\web\app_dev.php(27): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #25 {main} {"exception":"[object] (Zend\\Ldap\\Exception\\LdapException(code: 49): 0x31 (Invalid credentials; 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v23f0): LOCAL\\boff at C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\zendframework\\zend-ldap\\src\\Ldap.php:851)"} []
[2017-11-13 15:53:33] ldap_driver.DEBUG: ldap_search(OU=monusco,DC=tritech,DC=local, (&(&(ObjectClass=Person))(uid=boff)), [array]) {"action":"ldap_search","base_dn":"OU=monusco,DC=tritech,DC=local","filter":"(&(&(ObjectClass=Person))(uid=boff))","attributes":[]} []
[2017-11-13 15:53:33] ldap_driver.DEBUG: exception 'Zend\Ldap\Exception\LdapException' with message '0x31 (Invalid credentials; 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v23f0): LOCAL\boff' in C:\wamp\www\Monusco\Monusco_old1\vendor\zendframework\zend-ldap\src\Ldap.php:851 Stack trace: #0 C:\wamp\www\Monusco\Monusco_old1\vendor\zendframework\zend-ldap\src\Ldap.php(104): Zend\Ldap\Ldap->bind() #1 C:\wamp\www\Monusco\Monusco_old1\vendor\zendframework\zend-ldap\src\Ldap.php(929): Zend\Ldap\Ldap->getResource() #2 C:\wamp\www\Monusco\Monusco_old1\vendor\zendframework\zend-ldap\src\Ldap.php(1082): Zend\Ldap\Ldap->search('(&(&(ObjectClas...', 'OU=monusco,DC=t...', 1, Array, NULL, NULL, 0, 0) #3 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Driver\ZendLdapDriver.php(53): Zend\Ldap\Ldap->searchEntries('(&(&(ObjectClas...', 'OU=monusco,DC=t...', 1, Array) #4 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Ldap\LdapManager.php(40): FR3D\LdapBundle\Driver\ZendLdapDriver->search('OU=monusco,DC=t...', '(&(&(ObjectClas...') #5 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Ldap\LdapManager.php(31): FR3D\LdapBundle\Ldap\LdapManager->findUserBy(Array) #6 C:\wamp\www\Monusco\Monusco_old1\vendor\fr3d\ldap-bundle\Security\User\LdapUserProvider.php(34): FR3D\LdapBundle\Ldap\LdapManager->findUserByUsername('boff') #7 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Core\User\ChainUserProvider.php(49): FR3D\LdapBundle\Security\User\LdapUserProvider->loadUserByUsername('boff') #8 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider.php(81): Symfony\Component\Security\Core\User\ChainUserProvider->loadUserByUsername('boff') #9 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider.php(68): Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider->retrieveUser('boff', Object(Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken)) #10 C:\wamp\www\Monusco\Monusco_old1\app\cache\dev\classes.php(2729): Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider->authenticate(Object(Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken)) #11 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener.php(112): Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager->authenticate(Object(Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken)) #12 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener.php(144): Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener->attemptAuthentication(Object(Symfony\Component\HttpFoundation\Request)) #13 C:\wamp\www\Monusco\Monusco_old1\app\cache\dev\classes.php(2644): Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener->handle(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #14 [internal function]: Symfony\Component\Security\Http\Firewall->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #15 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\WrappedListener.php(61): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #16 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #17 C:\wamp\www\Monusco\Monusco_old1\app\cache\dev\classes.php(1873): call_user_func(Object(Symfony\Component\EventDispatcher\Debug\WrappedListener), Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #18 C:\wamp\www\Monusco\Monusco_old1\app\cache\dev\classes.php(1788): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #19 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher.php(138): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #20 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php(123): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #21 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php(62): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #22 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel.php(67): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 C:\wamp\www\Monusco\Monusco_old1\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(183): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 C:\wamp\www\Monusco\Monusco_old1\web\app_dev.php(27): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #25 {main} {"exception":"[object] (Zend\\Ldap\\Exception\\LdapException(code: 49): 0x31 (Invalid credentials; 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v23f0): LOCAL\\boff at C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\zendframework\\zend-ldap\\src\\Ldap.php:851)"} []
[2017-11-13 15:53:33] security.INFO: Authentication request failed. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AuthenticationServiceException(code: 0): An error occur with the search operation. at C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Security\\Core\\Authentication\\Provider\\DaoAuthenticationProvider.php:92, FR3D\\LdapBundle\\Driver\\LdapDriverException(code: 0): An error occur with the search operation. at C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\fr3d\\ldap-bundle\\Driver\\ZendLdapDriver.php:60)"} []
[2017-11-13 15:53:33] security.DEBUG: Authentication failure, redirect triggered. {"failure_path":"/login"} []
[2017-11-13 15:53:34] request.INFO: Matched route "fos_user_security_login". {"route_parameters":{"_controller":"FOS\\UserBundle\\Controller\\SecurityController::loginAction","_route":"fos_user_security_login"},"request_uri":"http://localhost/monusco/Monusco_old1/web/app_dev.php/login"} []
[2017-11-13 15:53:34] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2017-11-13 15:53:34] php.INFO: The FOS\UserBundle\Controller\SecurityController class extends Symfony\Component\DependencyInjection\ContainerAware that is deprecated since version 2.8, to be removed in 3.0. Use the ContainerAwareTrait instead. {"type":16384,"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Debug\\DebugClassLoader.php","line":223,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Debug\\DebugClassLoader.php","line":223,"function":"trigger_error"},{"function":"loadClass","class":"Symfony\\Component\\Debug\\DebugClassLoader","type":"->"},{"function":"spl_autoload_call"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\app\\cache\\dev\\classes.php","line":2234,"function":"class_exists"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\app\\cache\\dev\\classes.php","line":2570,"function":"createController","class":"Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\app\\cache\\dev\\classes.php","line":2180,"function":"createController","class":"Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\Controller\\TraceableControllerResolver.php","line":42,"function":"getController","class":"Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\HttpKernel.php","line":130,"function":"getController","class":"Symfony\\Component\\HttpKernel\\Controller\\TraceableControllerResolver","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\HttpKernel.php","line":62,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel.php","line":67,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\Kernel.php","line":183,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\web\\app_dev.php","line":27,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
[2017-11-13 15:53:34] php.INFO: The Symfony\Component\Security\Core\SecurityContext class is deprecated since version 2.6 and will be removed in 3.0. Use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage or Symfony\Component\Security\Core\Authorization\AuthorizationChecker instead. {"type":16384,"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Security\\Core\\SecurityContext.php","line":14,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Security\\Core\\SecurityContext.php","line":14,"function":"trigger_error"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Debug\\DebugClassLoader.php","line":169,"args":["C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Security\\Core\\SecurityContext.php"],"function":"require"},{"function":"loadClass","class":"Symfony\\Component\\Debug\\DebugClassLoader","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Controller\\SecurityController.php","line":27,"function":"spl_autoload_call"},{"function":"loginAction","class":"FOS\\UserBundle\\Controller\\SecurityController","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\HttpKernel.php","line":142,"function":"call_user_func_array"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\HttpKernel.php","line":62,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel.php","line":67,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\Kernel.php","line":183,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\web\\app_dev.php","line":27,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
[2017-11-13 15:53:34] php.INFO: The "form.csrf_provider" service is deprecated since Symfony 2.4 and will be removed in 3.0. Use the "security.csrf.token_manager" service instead. {"type":16384,"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\app\\cache\\dev\\appDevDebugProjectContainer.php","line":727,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\app\\cache\\dev\\appDevDebugProjectContainer.php","line":727,"function":"trigger_error"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\DependencyInjection\\Container.php","line":304,"function":"getForm_CsrfProviderService","class":"appDevDebugProjectContainer","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Controller\\SecurityController.php","line":43,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"function":"loginAction","class":"FOS\\UserBundle\\Controller\\SecurityController","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\HttpKernel.php","line":142,"function":"call_user_func_array"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\HttpKernel.php","line":62,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel.php","line":67,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\Kernel.php","line":183,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\web\\app_dev.php","line":27,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
[2017-11-13 15:53:34] php.INFO: The Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfTokenManagerAdapter::generateCsrfToken method is deprecated since version 2.4 and will be removed in version 3.0. Use the Symfony\Component\Security\Csrf\CsrfTokenManager class instead. {"type":16384,"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\CsrfTokenManagerAdapter.php","line":50,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\CsrfTokenManagerAdapter.php","line":50,"function":"trigger_error"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Controller\\SecurityController.php","line":43,"function":"generateCsrfToken","class":"Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\CsrfTokenManagerAdapter","type":"->"},{"function":"loginAction","class":"FOS\\UserBundle\\Controller\\SecurityController","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\HttpKernel.php","line":142,"function":"call_user_func_array"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\HttpKernel.php","line":62,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel.php","line":67,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\HttpKernel\\Kernel.php","line":183,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"C:\\wamp\\www\\Monusco\\Monusco_old1\\web\\app_dev.php","line":27,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
[2017-11-13 15:53:34] translation.WARNING: Translation not found. {"id":"An error occur with the search operation.","domain":"FOSUserBundle","locale":"fr"} []
[2017-11-13 15:53:34] request.INFO: Matched route "_wdt". {"route_parameters":{"_controller":"web_profiler.controller.profiler:toolbarAction","token":"c4f1cb","_route":"_wdt"},"request_uri":"http://localhost/monusco/Monusco_old1/web/app_dev.php/_wdt/c4f1cb"} []
[2017-11-13 15:53:35] security.INFO: Populated the TokenStorage with an anonymous Token. [] []

Thanks,

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料