Hi guys, I´m developing an application and I have the following problem: by default the login username is the CN attribute, but this has the form "Name Surname" in Active Directory by default. Can I change the behavior and use sAMAccountName attribute instead of CN, but I do not know how to do it.
Is it possible to do it configuring a specific parameter, or do I have to implement and override the org.jboss.security.auth.spi.LdapLoginModule class? If possible I would need a step-by-step instructions since I´m new to JBoss and LDAP as well. Thanks in advance.
Hi, any help about this topic please? I´m checking the JBoss Security Guide, but don´t know yet how to solve this problem.
Basically I´m having the same problem as this user is posting in another forum: