@@ 47-50 (lines=4) @@ | ||
44 | $logger = $this->get('ra.procedure_logger')->forProcedure($procedureId); |
|
45 | $logger->notice('Suggesting RA start U2F authentication'); |
|
46 | ||
47 | if (!$this->getVettingService()->hasProcedure($procedureId)) { |
|
48 | $logger->notice(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
49 | throw $this->createNotFoundException(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
50 | } |
|
51 | ||
52 | return ['procedureId' => $procedureId]; |
|
53 | } |
|
@@ 70-73 (lines=4) @@ | ||
67 | $logger = $this->get('ra.procedure_logger')->forProcedure($procedureId); |
|
68 | $logger->notice('Requested U2F Verfication'); |
|
69 | ||
70 | if (!$this->getVettingService()->hasProcedure($procedureId)) { |
|
71 | $logger->notice(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
72 | throw new NotFoundHttpException(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
73 | } |
|
74 | ||
75 | $service = $this->getVettingService(); |
|
76 | $session = $this->get('ra.session.u2f'); |
@@ 57-60 (lines=4) @@ | ||
54 | $logger = $this->get('ra.procedure_logger')->forProcedure($procedureId); |
|
55 | $logger->notice('Showing Initiate GSSF Verification Screen', ['provider' => $provider]); |
|
56 | ||
57 | if (!$this->getVettingService()->hasProcedure($procedureId)) { |
|
58 | $logger->notice(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
59 | throw new NotFoundHttpException(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
60 | } |
|
61 | ||
62 | return $this->renderInitiateForm($procedureId, $this->getProvider($provider)->getName()); |
|
63 | } |
|
@@ 79-82 (lines=4) @@ | ||
76 | $logger = $this->get('ra.procedure_logger')->forProcedure($procedureId); |
|
77 | $logger->notice('Generating GSSF verification request', ['provider' => $provider]); |
|
78 | ||
79 | if (!$this->getVettingService()->hasProcedure($procedureId)) { |
|
80 | $logger->notice(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
81 | throw new NotFoundHttpException(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
82 | } |
|
83 | ||
84 | $provider = $this->getProvider($provider); |
|
85 |
@@ 175-178 (lines=4) @@ | ||
172 | { |
|
173 | $logger = $this->get('ra.procedure_logger')->forProcedure($procedureId); |
|
174 | ||
175 | if (!$this->getVettingService()->hasProcedure($procedureId)) { |
|
176 | $logger->notice(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
177 | throw new NotFoundHttpException(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
178 | } |
|
179 | ||
180 | $this->getVettingService()->cancelProcedure($procedureId); |
|
181 | $this->addFlash('info', $this->get('translator')->trans('ra.vetting.flash.cancelled')); |
|
@@ 202-205 (lines=4) @@ | ||
199 | $logger = $this->get('ra.procedure_logger')->forProcedure($procedureId); |
|
200 | $logger->notice('Verify Identity Form requested'); |
|
201 | ||
202 | if (!$this->getVettingService()->hasProcedure($procedureId)) { |
|
203 | $logger->notice(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
204 | throw new NotFoundHttpException(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
205 | } |
|
206 | ||
207 | $command = new VerifyIdentityCommand(); |
|
208 | $form = $this->createForm(VerifyIdentityType::class, $command)->handleRequest($request); |
@@ 52-55 (lines=4) @@ | ||
49 | $logger = $this->get('ra.procedure_logger')->forProcedure($procedureId); |
|
50 | $logger->notice('Received request for Send SMS Challenge page'); |
|
51 | ||
52 | if (!$this->getVettingService()->hasProcedure($procedureId)) { |
|
53 | $logger->notice(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
54 | throw new NotFoundHttpException(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
55 | } |
|
56 | ||
57 | $command = new SendSmsChallengeCommand(); |
|
58 | $form = $this->createForm(SendSmsChallengeType::class, $command)->handleRequest($request); |
@@ 47-50 (lines=4) @@ | ||
44 | $logger = $this->get('ra.procedure_logger')->forProcedure($procedureId); |
|
45 | $logger->notice('Requested Yubikey Verfication'); |
|
46 | ||
47 | if (!$this->getVettingService()->hasProcedure($procedureId)) { |
|
48 | $logger->notice(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
49 | throw new NotFoundHttpException(sprintf('Vetting procedure "%s" not found', $procedureId)); |
|
50 | } |
|
51 | ||
52 | $command = new VerifyYubikeyPublicIdCommand(); |
|
53 | $form = $this->createForm(VerifyYubikeyPublicIdType::class, $command)->handleRequest($request); |