Thanks Marcus for link to GitHub to unofficial sample. Just general points about this topic and security:
LDAP per se does not support RFID login!
However, this is not quite true – as LDAP does not support password login, too!
LDAP is a “directory service” – think about a directory of information. All you can do is to ask this directory for information.
So if MpUserX performs a “login” via LDAP, we are only asking LDAP “give me a user with the login ‘name’ and password ‘password’” … if we get something back, we consider the user as valid and logged in …if not, not.
Something similar would be needed for RFID, too: Store the RFID information in the “directory” of a user … and for login, check if you find a user with the given RFID.
Im not familiar with this sample. But if your solution will be based on this, you should think about security and adapt sample in way, that it meets at least minimum security requirements. So, e.g. RFID information should not be used as password.