When using search-and-bind strategy, the user attributes are already returned in the first search.
If the user happens to not have privileges to perform a search, the second search may fail.
(user only has bind privileges)
See https://github.com/cloudfoundry/uaa/issues/342
@ -90,7 +91,9 @@ public class BindAuthenticatorTests extends AbstractLdapIntegrationTests {
@@ -90,7 +91,9 @@ public class BindAuthenticatorTests extends AbstractLdapIntegrationTests {
@ -93,7 +93,8 @@ public class BindAuthenticator extends AbstractLdapAuthenticator {
@@ -93,7 +93,8 @@ public class BindAuthenticator extends AbstractLdapAuthenticator {
@ -106,6 +107,11 @@ public class BindAuthenticator extends AbstractLdapAuthenticator {
@@ -106,6 +107,11 @@ public class BindAuthenticator extends AbstractLdapAuthenticator {
@ -121,8 +127,9 @@ public class BindAuthenticator extends AbstractLdapAuthenticator {
@@ -121,8 +127,9 @@ public class BindAuthenticator extends AbstractLdapAuthenticator {