Hi Guys,
I'd like to take advantage of LPPE. But, I'm wondering if there's a way
of configuring custom actions for the LPPE states?
For example, I'd like to display the warning pages as defined below.
But, once they click another button, I'd like them directed to our
existing password management system with a valid ticket, and possibly an
additional parameter indicating why they are being forwarded there.
<transition on="accountDisabled" to="casAccountDisabledView" />
<transition on="mustChangePassword" to="casMustChangePassView" />
<transition on="accountLocked" to="casAccountLockedView" />
<transition on="badHours" to="casBadHoursView" />
<transition on="badWorkstation" to="casBadWorkstationView" />
<transition on="passwordExpired" to="casExpiredPassView" />
Note: we already have a custom validation checks plugin which handles a
variety of password issues, and sets up parameters for the password
manager as appropriate, and then redirects to the password manager with
those parameters. So, I could potentially hook into that somehow.
As, as one example above, I was thinking along the lines of...
<transition on="accountDisabled" to="casAccountDisabledRedirect" />
<action-state id="casAccountDisabledRedirect">
<evaluate expression="casAccountDisabledRedirectAction" />
<transition on="success" to="sendTicketGrantingTicket" />
<transition on="error" to="generateLoginTicket" />
</action-state>
In another file...
<bean id="casAccountDisabledRedirectAction"
class="ca.athabascau.auth.cas.server.webflow.PerformAUOnLoginChecksAction"
p:lppeReason="disabled">
</bean>
What PerformAUOnLoginChecksAction does now (prior to us using LPPE) is
essentially change the service url to point to the password manager,
then give the password manager an encoded version of the original
service url. After the password is updated, the password manager
directs back to CAS with the original service URL.
Does that sound about right?
I just want to make sure I'm doing this in a way that would be
considered good form. I'm fairly new to this spring web flow.
Thanks.
--
Trenton D. Adams
Senior Systems Analyst/Web Software Developer
Navy Penguins at your service!
Athabasca University
(780) 675-6195
:wq!
--
This communication is intended for the use of the recipient to whom it
is addressed, and may contain confidential, personal, and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take
action relying on it. Any communications received in error, or
subsequent reply, should be deleted or destroyed.
---
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user