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))))




 

-----Original Message-----
From: "Dusty Edenfield" <[email protected]>
To: "CAS Community" <[email protected]>
Date: 03 Bah 1396 00:28
Subject: [cas-user] Allowing alternate identifiers for username

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.  
--
- 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 [email protected].
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.


-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/06e1def600545b2420069b7c2d9ca369%40of.iut.ac.ir.

Reply via email to