----- "Scott Battaglia" <[email protected]> wrote:

> You can modify the Web Flow to do whatever you want, including
> checking an attribute and redirecting somewhere else. 


(Sorry.. old thread, just now getting back to this project)

I think this is exactly what I want.  My thought is that I'll change the 
endstate redirect to a view of a new custom jsp that will check an ldap 
attribute for the user, and redirect them either to the intended destination of 
all is well, or send them to the contact info form if it's out of date.

The problem I haven't worked out yet is how to make that ldap attribute 
available to my jsp.  I can either make it available to CAS through 
CredentialsToLDAPAttributePrincipalResolver, or just take the principal and 
query ldap from my jsp.  But I can't figure out how to get either to the jsp.  
I think the recent thread on making principal available to webflow would 
probably do, but I need some hand holding to make that next step from webflow 
to jsp.

Anyone with more assistance/documentation on that part.. or a better way to 
handle it entirely?  I'm rather new to java, so if I'm missing something 
fundamental, please clue me in.

Thanks,
Ryan


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