mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
679 B
26 lines
679 B
using Volo.Abp.Autofac;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.Ldap
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpAutofacModule),
|
|
typeof(AbpLdapModule),
|
|
typeof(AbpTestBaseModule)
|
|
)]
|
|
public class AbpLdapTestModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpLdapOptions>(options =>
|
|
{
|
|
options.ServerHost = "192.168.0.3";
|
|
options.ServerPort = 389;
|
|
options.BaseDc = "dc=abp,dc=io";
|
|
options.UserName = "admin";
|
|
options.Password = "123qwe";
|
|
});
|
|
}
|
|
}
|
|
}
|