Fallback to CAS login?

26 views
Skip to first unread message

jahh

unread,
Apr 22, 2009, 3:44:29 AM4/22/09
to casshib
Hi,

if a Shib IdP indicates that the user was unsuccessfully
authenticated, is the Casshib able to fall back to some local
authentication method?


Regards,
Jani

bko...@gmail.com

unread,
Apr 22, 2009, 1:15:10 PM4/22/09
to casshib
Jani, I don't know how you have your identity provider configured but
my IdP won't redirect back to a service upon a failed login attempt.
The user would be stuck on a "failed to login" page on the IdP side
and would never get back to CASShib. But presuming you configure/
modify your IdP's login service to redirect back to services upon a
failed attempt, you should be able to redirect to a different url upon
an authentication error by modifying the flow in the casshib-login-
webflow.xml file. Look at the "remoteAuthenticate" action-state and
the <transition on="error" to="casShibAuthErrorView"/> part. You can
either modify that to do something like what the <end-state
id="redirect"...> state is doing, or you can modify
casShibAuthErrorView.jsp to redirect somewhere rather than display an
error message.
Reply all
Reply to author
Forward
0 new messages