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 <[EMAIL PROTECTED]> 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
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas




_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to