From 9e1dfe02e31d6f81b6c52e67629147b44d1aa551 Mon Sep 17 00:00:00 2001 From: Reinier Kip Date: Wed, 10 Jun 2015 15:16:36 +0200 Subject: [PATCH] Make vetting service available in GssfController. --- .../RaBundle/Controller/Vetting/GssfController.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Surfnet/StepupRa/RaBundle/Controller/Vetting/GssfController.php b/src/Surfnet/StepupRa/RaBundle/Controller/Vetting/GssfController.php index ad397bc6..6ed43052 100644 --- a/src/Surfnet/StepupRa/RaBundle/Controller/Vetting/GssfController.php +++ b/src/Surfnet/StepupRa/RaBundle/Controller/Vetting/GssfController.php @@ -24,6 +24,7 @@ use Surfnet\SamlBundle\SAML2\AuthnRequestFactory; use Surfnet\SamlBundle\SAML2\Response\Assertion\InResponseTo; use Surfnet\StepupRa\RaBundle\Exception\RuntimeException; +use Surfnet\StepupRa\RaBundle\Service\VettingService; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -226,4 +227,12 @@ private function getLogger() { return $this->get('logger'); } + + /** + * @return VettingService + */ + private function getVettingService() + { + return $this->get('ra.service.vetting'); + } }