Allowing alternate identifiers for username

11 views
Skip to first unread message

Dusty Edenfield

unread,
Jan 22, 2018, 3:56:55 PM1/22/18
to CAS Community
Is there a way to allow for different formats for username in CAS?  For example, we have had some users ask if username@domain could be accepted as well as the usual username to eliminate confusion.  

Mohsen Ebrahimi

unread,
Jan 23, 2018, 9:09:14 AM1/23/18
to cas-...@apereo.org

If your backend is ldap you can do some tricks with ldap filter. For example:

cas.authn.ldap[0].userFilter=(|(uid={user})(&(!(uid=*))(|(mail={user}@mail2.domain)(mail={user}@mail.domain))))



 


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/bbc4434d-18fc-4383-bafc-b88f9aa539b0%40apereo.org.
Reply all
Reply to author
Forward
0 new messages