<!DOCTYPE HTML><html>
<head>
<meta name="Generator" content="Amazon WorkMail v3.0-4275">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>RE: Custom Messages - ContextCheckInterceptConfiguration</title>
</head>
<body>
<p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">Joshua,</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">I haven't personally implemented it yet, but there is this text in the documentation you referenced:</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"><span style="background-color:#ffffff; color:#172b4d; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif; font-size:14px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">That's all you have to do, but you may want to change the event returned by your copy so that you can map it to a different error message. To change the event, edit your new<span> </span></span><em>mycheck-flow.xml</em><span style="background-color:#ffffff; color:#172b4d; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif; font-size:14px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px"><span> </span>file and replace the reference to "ContextCheckDenied" with the name of your event. It can be anything, more or less. Then you'll need to add that event to a file named<span> </span></span><em>conf/intercept/intercept-events-flow.xml</em><span style="background-color:#ffffff; color:#172b4d; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif; font-size:14px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">. The default file includes a commented example for an event called "MyCustomEvent". Then you'll need to add that event in<span> </span></span><em>conf/errors.xml<span> </span></em><span style="background-color:#ffffff; color:#172b4d; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif; font-size:14px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">to the action needed.</span></p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">That might be a way to implement the functionality you want,</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">Nate.</p><blockquote style="border-left:2px solid #b0b0b7; margin-left:5px; margin-right:0px; padding-left:5px">-----Original message-----<br /><strong>From:</strong> Joshua Brodie<br /><strong>Sent:</strong> Wednesday, October 17 2018, 9:43 pm<br /><strong>To:</strong> users<br /><strong>Subject:</strong> Custom Messages - ContextCheckInterceptConfiguration<br /><br /><!-- begin sanitized html --><div dir="ltr"><div dir="ltr"><div dir="ltr">For our own multiple flows, is it possible to have custom messages for ContextCheckInterceptConfiguration checks based on the flow? E.g. "Access to student email is for students only, if require access please contact blah@helpdesk" etc.<div> </div><div><a title="This external link opens in a new window" href="https://wiki.shibboleth.net/confluence/display/IDP30/ContextCheckInterceptConfiguration">https://wiki.shibboleth.net/confluence/display/IDP30/ContextCheckInterceptConfiguration</a></div></div></div></div><pre>-- 

For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg

To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net</pre> <!-- end sanitized html --></blockquote>
</body>
</html>