|
@@ 121-129 (lines=9) @@
|
| 118 |
|
* redirect. This method sends a AuthnResponse back to the service |
| 119 |
|
* provider in response to the AuthnRequest received in ssoAction(). |
| 120 |
|
*/ |
| 121 |
|
public function respondAction() |
| 122 |
|
{ |
| 123 |
|
$responseContext = $this->getResponseContext(); |
| 124 |
|
$gatewayLoginService = $this->getGatewayLoginService(); |
| 125 |
|
|
| 126 |
|
$response = $gatewayLoginService->respond($responseContext); |
| 127 |
|
|
| 128 |
|
return $this->renderSamlResponse('consumeAssertion', $response); |
| 129 |
|
} |
| 130 |
|
|
| 131 |
|
/** |
| 132 |
|
* @return Response |
|
@@ 134-142 (lines=9) @@
|
| 131 |
|
/** |
| 132 |
|
* @return Response |
| 133 |
|
*/ |
| 134 |
|
public function sendLoaCannotBeGivenAction() |
| 135 |
|
{ |
| 136 |
|
$responseContext = $this->getResponseContext(); |
| 137 |
|
$gatewayLoginService = $this->getGatewayLoginService(); |
| 138 |
|
|
| 139 |
|
$response = $gatewayLoginService->sendLoaCannotBeGiven($responseContext); |
| 140 |
|
|
| 141 |
|
return $this->renderSamlResponse('consumeAssertion', $response); |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
/** |
| 145 |
|
* @return Response |
|
@@ 147-155 (lines=9) @@
|
| 144 |
|
/** |
| 145 |
|
* @return Response |
| 146 |
|
*/ |
| 147 |
|
public function sendAuthenticationCancelledByUserAction() |
| 148 |
|
{ |
| 149 |
|
$responseContext = $this->getResponseContext(); |
| 150 |
|
$gatewayLoginService = $this->getGatewayLoginService(); |
| 151 |
|
|
| 152 |
|
$response = $gatewayLoginService->sendAuthenticationCancelledByUser($responseContext); |
| 153 |
|
|
| 154 |
|
return $this->renderSamlResponse('consumeAssertion', $response); |
| 155 |
|
} |
| 156 |
|
|
| 157 |
|
/** |
| 158 |
|
* @param string $view |