[cas-dev] returning custom NetID

Scott Battaglia scott.battaglia at gmail.com
Mon Oct 2 22:39:37 EDT 2006


Jennifer,

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 <jyoonyang at gmail.com> 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
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20061002/ab0758e4/attachment.html


More information about the cas-dev mailing list