Set REMOTE_USER to LDAP attribute

Scott Battaglia scott.battaglia at gmail.com
Thu Jan 11 07:48:07 EST 2007


I'm assuming you want REMOTE_USER set on the client side and not on the CAS
server?  If that's the case you merely need to create a
CredentialsToPrincipalResolver that will take the user supplied credentials
(i.e. email address and password) and map them to the appropriate username.
CAS will return to the clients whatever ID value the principal has as the
username.

-Scott

On 1/11/07, André Cruz <andre.cruz at segula.pt> wrote:
>
> Hello.
>
> I have my CAS server authenticating using an LDAP backend. Is it
> possible to set REMOTE_USER to an attribute returned in the LDAP query?
>
> For example: a user authenticates using it's email and REMOTE_USER is
> set to their username in the system.
>
> Thanks,
> André Cruz
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070111/9ebd701e/attachment.html


More information about the cas mailing list