src/Surfnet/StepupGateway/GatewayBundle/Controller/GatewayController.php 1 location
|
@@ 193-204 (lines=12) @@
|
| 190 |
|
/** |
| 191 |
|
* @return \Surfnet\StepupGateway\GatewayBundle\Saml\ResponseContext |
| 192 |
|
*/ |
| 193 |
|
public function getResponseContext() |
| 194 |
|
{ |
| 195 |
|
$stateHandler = $this->get('gateway.proxy.sso.state_handler'); |
| 196 |
|
|
| 197 |
|
$responseContextServiceId = $stateHandler->getResponseContextServiceId(); |
| 198 |
|
|
| 199 |
|
if (!$responseContextServiceId) { |
| 200 |
|
return $this->get(static::RESPONSE_CONTEXT_SERVICE_ID); |
| 201 |
|
} |
| 202 |
|
|
| 203 |
|
return $this->get($responseContextServiceId); |
| 204 |
|
} |
| 205 |
|
|
| 206 |
|
/** |
| 207 |
|
* @param SAMLResponse $response |
src/Surfnet/StepupGateway/SamlStepupProviderBundle/Controller/SamlProxyController.php 1 location
|
@@ 384-395 (lines=12) @@
|
| 381 |
|
/** |
| 382 |
|
* @return \Surfnet\StepupGateway\GatewayBundle\Saml\ResponseContext |
| 383 |
|
*/ |
| 384 |
|
public function getResponseContext() |
| 385 |
|
{ |
| 386 |
|
$stateHandler = $this->get('gateway.proxy.sso.state_handler'); |
| 387 |
|
|
| 388 |
|
$responseContextServiceId = $stateHandler->getResponseContextServiceId(); |
| 389 |
|
|
| 390 |
|
if (!$responseContextServiceId) { |
| 391 |
|
return $this->get(GatewayController::RESPONSE_CONTEXT_SERVICE_ID); |
| 392 |
|
} |
| 393 |
|
|
| 394 |
|
return $this->get($responseContextServiceId); |
| 395 |
|
} |
| 396 |
|
} |
| 397 |
|
|