That's a shame.  I'm using Spring
Security's ActiveDirectoryLdapAuthenticationProvider, so I can't just
change the binding style without rewriting the authentication system.  I
guess I'm just surprised that there's not more need for an embedded unit
test for AD authentication.

On Fri, Oct 2, 2015 at 4:31 AM, Kiran Ayyagari <[email protected]> wrote:

> On Fri, Oct 2, 2015 at 1:18 AM, Oblio Leitch <[email protected]>
> wrote:
>
> > I'm hoping someone can help me get ADS setup to simulate Active
> Directory.
> > I'm actually just trying to use it embedded to perform unit testing, but
> I
> > don't know what I need to do to pull in custom attributes and to accept a
> > bindPrincipal in the form of an email address.  Is this possible?
> >
> nope, not without changing the internals of the server.
> the easiest path might be to always use SASL bind and change one of the
> SASL
> handler e.x DigestMd5CallbackHandler to lookup a user based on his email
> address
>
>
>
> --
> Kiran Ayyagari
> http://keydap.com
>

Reply via email to