> what is the correct way to display the last authentication time to the
> user before it is updated in LDAP?

Custom Spring Webflow action that executes after authentication
success. For example, replace sendTicketGrantingTicket action in the
following state with your custom action:

  <action-state id="realSubmit">
    <evaluate expression="authenticationViaFormAction.submit(flowRequestContext,
flowScope.credential, messageContext)" />
    <transition on="warn" to="warn" />
    <transition on="success" to="sendTicketGrantingTicket" />
    <transition on="successWithWarnings" to="showMessages" />
    <transition on="authenticationFailure" to="handleAuthenticationFailure" />
    <transition on="error" to="generateLoginTicket" />
  </action-state>

Note you would need an additional state definition for your custom
action that transitions to sendTicketGrantingTicket on success. Your
custom state would be a view state, which requires a little more
configuration to get going, but there are existing view states you
could use as a template.

We have done extensive customizations of this sort (password
expiration warnings, self-service password reset configuration, etc)
in this manner.

M

-- 
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

Reply via email to