public function __construct(Cache $cache = null, Parser $parser = null)
{
if (null === $parser) {
$parser = new AnnotationParser();
}
parent::__construct($cache, $parser);
$this->setAutoloadAnnotations(false);
$this->setAnnotationNamespaceAlias('JMS\\SecurityExtraBundle\\Annotation\\', 'extra');
$this->loadAnnotations();
}