Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Fix secure random #55

merged 2 commits into from

2 participants

  • Fix container XML configuration.
  • Implement missing method JMSSecurityExtraExtension::getDoctrineConnoctionId

This is an extension of #53. I'm still having some trouble getting it to work. I'm not planning on burying you with work so if you could just point me in the right direction I can make this mergeable without to much work from your side :smile:

The biggest error I'm still getting is a missing method JMSSecurityExtraExtension::getDoctrineConnectionId. My guess is it ought to look like this:


    private function getDoctrineConnectionId($guess)
        return "doctrine.dbal.{$guess}_connection";

Ok. This is mergeable as far as I'm concerned.

@schmittjoh schmittjoh merged commit 78b5b83 into schmittjoh:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
5 DependencyInjection/JMSSecurityExtraExtension.php
@@ -128,4 +128,9 @@ private function configureSecureRandom(array $config, ContainerBuilder $containe
+ private function getDoctrineConnectionId($guess)
+ {
+ return "doctrine.dbal.{$guess}_connection";
+ }
4 Resources/config/security_secure_random.xml
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
+<container xmlns=""
+ xmlns:xsi=""
+ xsi:schemaLocation="">
<parameter key="security.util.secure_random_schema.class">JMS\SecurityExtraBundle\Security\Util\SecureRandomSchema</parameter>
Something went wrong with that request. Please try again.