You are to keep state in your web flow. What happens when you enter that state 
is up to you. Or for full form, you configure the flow dynamically.

-- 
Misagh

From: Philippe MARASSE <philippe.mara...@ch-poitiers.fr>
Reply: Philippe MARASSE <philippe.mara...@ch-poitiers.fr>
Date: August 21, 2016 at 1:38:11 PM
To: cas-user@apereo.org <cas-user@apereo.org>
Subject:  Re: [cas-user] CAS 5.0.0 SPNEGO - How to send a view after a failed 
authentication  

Thanks for your answer, but I've seen, if I'm not mistaken, a hardcoded 
transition to viewloginform :

Component : cas-server-support-spnego-webflow
class : org.apereo.cas.web.flow.SpengoWebflowConfigurer

line 24 : 
.getTransitionSet().add(createTransition(CasWebflowConstants.TRANSITION_ID_ERROR,
 CasWebflowConstants.STATE_ID_VIEW_LOGIN_FORM));

If I modify login-webflow, I think it will be superseded by this class ?

Regards.

On 12/08/2016 17:56, Misagh Moayyed wrote:
You will likely need to adjust the login flow to account for a different view 
other than the default login view.

-- 
Misagh

From: Philippe MARASSE <philippe.mara...@ch-poitiers.fr>
Reply: Philippe MARASSE <philippe.mara...@ch-poitiers.fr>
Date: August 12, 2016 at 6:31:53 AM
To: cas-user@apereo.org <cas-user@apereo.org>
Subject:  [cas-user] CAS 5.0.0 SPNEGO - How to send a view after a failed 
authentication

Folks,

Actually, when SPNEGO authentication fails, it's falling back to login
form (wether cas.authn.spnego.send401OnAuthenticationFailure is true or
false).

But in our configuration, on a failure, we need to send a specific view.
How can I achieve that behavior ?

Regards.

--
Philippe MARASSE

Responsable pôle Infrastructures - DSIO
Centre Hospitalier Henri Laborit
CS 10587 - 370 avenue Jacques Cœur
86021 Poitiers Cedex
Tel : 05.49.44.57.19

--
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/191f5df0-b4e1-7ce2-5f82-c6e47fbbe161%40ch-poitiers.fr.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57adf1aa.6ff49626.d48a%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


--  
Philippe MARASSE

Responsable pôle Infrastructures - DSIO
Centre Hospitalier Henri Laborit
CS 10587 - 370 avenue Jacques Coeur  
86021 Poitiers Cedex
Tel : 05.49.44.57.19
--
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/822c0ae7-eea3-faa1-0ce6-a2853df0ebf4%40ch-poitiers.fr.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57baa4fb.76cff3d7.17e1c%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to