Tags "symfony-security" Result

CAS Authentication Symfony2

I'm looking for a bundle to integrate CAS authentication on Symfony 2.3. I found these options and the truth is I'm not convinced any, since almost all bundles seem to be abandoned without updating. 1.- sensiolabs / CasBundle: https://github.com/sensiolabs/CasBundle The documentation is sparse and incomplete. I have not found any examples of how t

it1352 1 2019-05-08

Symfony2 custom connection by web service

I'm trying to create a custom connection where I should use web service. So I read the tutorial on security and this one on custom provider. Now I'm trying to create my own login form with 3 fields : Email, password and number. After validation I understood that my /login_check pass in the function loadUserByUsername($username), but this function t

it1352 0 2020-09-14

Symfony 4 remember me cookie not set

I am developing a site using Symfony 4 and I noticed that remember me functionality is not working (the cookie is not set at all). I followed this tutorial: https://symfony.com/doc/4.4/security/remember_me.html I also read a lot of similar issues but none of them resolved my problem. This is my security.yaml configuration: security: encoders

it1352 0 2020-09-14

Execute function after User Login Symfony 2.3

I am trying to execute a function after user login in FOSUserBundle, in my config.yml I set the service: services: authentication.success.listener: class: MyCompany\MyBundle\EventListener\AuthenticationEventListener arguments: [@router] tags: - { name: kernel.event_subscriber } Then, I create the Listener

it1352 0 2020-11-10

problem with extension impossible enable or install

php 7.3.5 hello i have a problem with the extension ext-http , and composer say me ext-http is missing even if i write this in composer .json , why ? this this exact message: _Problem 1 - The requested PHP extension ext-http * is missing from your system. Install or enable PHP's http extension. i tried to see th php.ini , and it i saw nothin t

it1352 1 2020-11-24

Symfony 2 authentication with (doctrine) Entity

I think I've tried all code in all posts about authentication with (doctrine) Entity in Symfony 2. And I can`t make it work. When I use in_memory provider all works fine. I'm using the PR8. My security.yml security: encoders: Partners\FrontendBundle\Entity\User: plaintext Symfony\Component\Security\Core\User\User: plaint

it1352 1 2019-05-08

LDAP Authentication with Symfony 2.8

I'm trying to use the new LdapUserProvider in Symfony 2.8. I believe I have configured everything per the docs. My user can successfully authenticate, and then gets redirected to the secured page. After the redirection is where the issue begins. Symfony tries to bind as the authenticated user, but with a null password, which is rejected by open ld

it1352 6 2019-05-08

Symfony 2 authentication with (doctrine) Entity

I think I've tried all code in all posts about authentication with (doctrine) Entity in Symfony 2. And I can`t make it work. When I use in_memory provider all works fine. I'm using the PR8. My security.yml security: encoders: Partners\FrontendBundle\Entity\User: plaintext Symfony\Component\Security\Core\User\User: plaint

it1352 1 2019-05-15