FriendsOfSymfony/FOSOAuthServerBundle — Issue #12: doesn't play nice with JMSSecurityExtraBundle?
Author: bclozel
Created: 2012-02-06 15:01:50+00:00
State: open

When [checking for the method addSecurityListenerFactory](https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/blob/master/FOSOAuthServerBundle.php#L31), this line fails with [JMSSecurityExtraBundle](https://github.com/schmittjoh/JMSSecurityExtraBundle) since its [SecurityExtension class](https://github.com/schmittjoh/JMSSecurityExtraBundle/blob/master/DependencyInjection/SecurityExtension.php) does not extend [sf2's SecurityExtension class](https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php).

Does something like this work?

is_callable(array($extension,'addSecurityListenerFactory'))

Maybe there's something wrong with my setup?