ProfileInterceptConfiguration -- With Custom Error Message
Joshua Brodie
josbrodie at gmail.com
Wed Oct 24 22:48:09 EDT 2018
Thanks Scott!
>I doubt you added the right material to the intercept-events-flow file.
Both the end-state and the transition have to be there, a pair for each
event.
My lack of Spring experience is playing a major part in the stumble....what
do I place for the transition?
In 'intercept-events-flow.xml', I have the following:
<end-state id="ContextCheckDeniedTEST" />
In 'errors.xml' I have the following:
<entry key="ContextCheckDeniedTEST" value="true" />
In the '/flow/intercept/mycheck/mycheck-flow.xml', I have the following
<decision-state id="CheckContext">
<if test=
"ContextCheckPredicate.apply(opensamlProfileRequestContext)"
then="proceed" else="ContextCheckDeniedTEST" />
</decision-state>
in 'errors.vm' -- I have the following.
#if ($eventId == "AccessDenied" or $eventId == "ContextCheckDenied" or
$eventId == "ContextCheckDeniedTEST")
$response.setStatus(403)
On Wed, 24 Oct 2018 at 16:31, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 10/24/18, 7:11 PM, "users on behalf of Joshua Brodie" <
> users-bounces at shibboleth.net on behalf of josbrodie at gmail.com> wrote:
>
> > I must have missed something....wondering if anyone can provide a guide
> on where to look?
>
> I doubt you added the right material to the intercept-events-flow file.
> Both the end-state and the transition have to be there, a pair for each
> event.
>
> -- Scott
>
>
> --
> For Consortium Member technical support, see
> https://wiki.shibboleth.net/confluence/x/coFAAg
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20181024/4a464a3d/attachment.html>
More information about the users
mailing list