File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
application/modules/Authentication/Controller
library/EngineBlock/Corto Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ public function consumeAssertionAction()
3939 $ application ->handleExceptionWithFeedback ($ e ,
4040 '/authentication/feedback/vomembershiprequired ' );
4141 }
42+ catch (EngineBlock_Corto_Module_Services_SessionLostException $ e ) {
43+ $ application ->handleExceptionWithFeedback ($ e ,
44+ '/authentication/feedback/session-lost ' );
45+ }
4246 catch (EngineBlock_Corto_Module_Bindings_UnableToReceiveMessageException $ e ) {
4347 $ application ->handleExceptionWithFeedback ($ e ,
4448 '/authentication/feedback/unable-to-receive-message ' );
Original file line number Diff line number Diff line change 217217 'error_session_lost ' => 'Error - your session was lost.. ' ,
218218 'error_session_lost_desc ' => '<p>
219219 Somewhere along the way, your session with us was lost. <br />
220- Maybe you have cookies disabled ? <br />
220+ Most likely your browser privacy or security settings prevented the cookie to be set ? <br />
221221 Please go back and try again.
222222 <br /><br />
223223 </p> ' ,
Original file line number Diff line number Diff line change 216216 'error_session_lost ' => 'Error - Uw sessie is verloren gegaan.. ' ,
217217 'error_session_lost_desc ' => '<p>
218218 Uw sessie is ergens verloren gegaan.<br />
219- Misschien heeft u uw cookies uitgezet ?<br />
219+ Waarschijnlijk mocht de cookie niet worden gezet door de strikte privacy configuratie van uw browser ?<br />
220220 Ga alstublieft terug en probeer het opnieuw.
221221 <br /><br />
222222 </p> ' ,
Original file line number Diff line number Diff line change @@ -930,7 +930,7 @@ public function getReceivedRequestFromResponse($id)
930930 // Check the session for a AuthnRequest with the given ID
931931 // Expect to get back an AuthnRequest issued by EngineBlock and destined for the IdP
932932 if (!$ id || !isset ($ _SESSION [$ id ])) {
933- throw new EngineBlock_Corto_ProxyServer_Exception (
933+ throw new EngineBlock_Corto_Module_Services_SessionLostException (
934934 "Trying to find a AuthnRequest (we made and sent) with id ' $ id' but it is not known in this session? " .
935935 "This could be an unsolicited Response (which we do not support) but more likely the user lost their session " ,
936936 EngineBlock_Corto_ProxyServer_Exception::CODE_NOTICE
You can’t perform that action at this time.
0 commit comments