public function setContainer(ContainerInterface $container = null)
    {
        $this->setAclProvider($container->get('security.acl.provider'));
        $this->setObjectIdentityRetrievalStrategy($container->get('security.acl.object_identity_retrieval_strategy'));
    }