You could sub class and query, but then your adding another query, (but that might not be a concern) You could use a sasl auth method (kerberos or a digest)
On Tue, Jan 19, 2010 at 5:41 PM, rchristy <[email protected]> wrote: > > Does anyone have any thoughts on how I can authenticate using the > sAMAccountName attribute? I know I can subclass ActiveDirectoryRealm and > change the implementation to queryForAuthenticationInfo to do this. The > default implementation uses attempts to retrieve the LdapContext using the > credentials that passed in. Instead, I would like to verify credentials > using the sAMAccountName attribute as the username and the password that is > passed in. > > Thanks, > > Rich > -- > View this message in context: > http://n2.nabble.com/ActiveDirectoryRealm-getRoleNamesForUser-tp4402069p4423475.html > Sent from the Shiro User mailing list archive at Nabble.com. >
