The best way is to write a custom CredentialsToPrincipalResolver that will convert the given Credentials into the correct Principal. (i.e. it would do an LDAP look up, or a database lookup, etc.).
-Scott
On 10/2/06, Jennifer Yang <[EMAIL PROTECTED]> wrote:
Hi
We have requirements to authenticate users using different alias. However, when we would like each webapp to access users via single username via CAS_FILTER_USER in the session. What is the cleaniest way to over write the authenticated username?
The UsernamePasswordCredentials is mutable, so I was able to set the username in my custom authentication handler. However, this seems a little hacky, don't you think?
Thanks,
Jennifer
_______________________________________________
cas-dev mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas-dev
_______________________________________________ cas-dev mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas-dev
