26 Mar
2024
26 Mar
'24
1:48 a.m.
Currently I want to authenticate users who enter EXAMPLE\bob or bob@example.com. Also I don't want to grant access to users who enter EXAMPLE.COM\bob or bob@EXAMPLE.
Why does it matter?
When realm is defined as realm EXAMPLE it grants access for EXAMPLE\bob and bob@EXAMPLE. Currently we do not support the last format that is why I want to reject bob@EXAMPLE.
Perhaps the "realm" module could be updated to mark if the realm is suffix or prefix. As always, patches are welcome.
What should the modified "realm" module update ? Should it return some extra values or fill in some new attributes ?