DanElbert / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-ldap: multiple results from Authenticator#getDn(String) #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Searching for user DNs may returning multiple records from LDAPs with bad
data or configs with bad filters.
Add a flag to AuthenticatorConfig to control whether an exception is thrown
in this case.

Original issue reported on code.google.com by dfis...@gmail.com on 27 Oct 2009 at 4:49

GoogleCodeExporter commented 8 years ago
Added allowMultipleDns property to AuthenticatorConfig.
Updated Authenticator#getDn(String) to throw NamingException if the search 
filter
finds multiple DNs and allowMultipleDns is false.
Note that the default behavior for handling multiple DNs has changed and is no 
longer
allowed by default.
Fixed in r933.

Original comment by dfis...@gmail.com on 27 Oct 2009 at 8:04