/**
  * Injects the security context holder and fetches the security context from it
  *
  * @param \F3\FLOW3\Security\ContextHolderInterface $securityContextHolder The security context holder
  * @return void
  * @author Andreas Förthner <*****@*****.**>
  */
 public function injectSecurityContextHolder(\F3\FLOW3\Security\ContextHolderInterface $securityContextHolder)
 {
     $this->securityContext = $securityContextHolder->getContext();
 }
 /**
  * Constructor.
  *
  * @param \F3\FLOW3\Object\ObjectManagerInterface $objectManager The object manager
  * @return void
  * @author Andreas Förthner <*****@*****.**>
  */
 public function __construct(\F3\FLOW3\Object\ObjectManagerInterface $objectManager, \F3\FLOW3\Security\ContextHolderInterface $securityContextHolder)
 {
     $this->objectManager = $objectManager;
     $this->objectFactory = $this->objectManager->getObjectFactory();
     $this->securityContext = $securityContextHolder->getContext();
 }