hi folks,
Another login related question. We have an external Central
Authentication System (CAS) that we use for login. We've had the
connection work by setting up a custom UserDirectory and using the
authenticate function to send the user to the external authentication
system.
In the past, what we've done is had a landing page for this sequence
which meant that the authenticate code only ran once, partly because
we still had CLIENTUD as the default UD.
Now what we have is a secured page for login landing. So when the user
clicks on "Login", they are not (yet) allowed to see the page, so they
are automatically forwarded to /webtop/login.cfm. The way we have this
set up, is that this runs authenticate() on our UD, which
automatically forwards them to the CAS, which after authentication
sends them back to /webtop/login.cfm with the proper returnURL as a
url variable. At this point, the authenticate() function runs again,
checks the ticket information and pings back the CAS server for
verification, and when all is fine, sets:
<cfset stResult.userid = user>
<cfset stResult.authenticated =
true>
<cfset stResult.message =
"Login successful">
Since we are now logged in, the login.cfm page correctly forwards
things onto the returnURL variable and the user lands on the login
page originally requested.
After all that setup, which works, here's the problem!! Instead of
seeing an ext.bubble saying "Login successfull" which is what I would
expect, the bubble says "You are not authorized to view this page" or
something similar (the default message). This would be confusing for
users!!
I can see that on the first request to the page, the message is being
set, but how do I UNSET it??
Thanks,
Tomek
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry