Use the security.authorization_checker this service is introduced in 2.6: http://symfony.com/blog/new-in-symfony-2-6-security-component-improvements
Use the security.authorization_checker this service is introduced in 2.6: http://symfony.com/blog/new-in-symfony-2-6-security-component-improvements

integratedfordevelopers/integrated,integratedfordevelopers/integrated,integratedfordevelopers/integrated