6-LDAP认证

  • LDAP认证

    @Autowired
    

private DataSource dataSource;

@Autowired public void configureGlobal(AuthenticationManagerBuilder auth)throws Exception{
auth
.ldapAuthentication().
userDnPatterns( “ uid = {0},ou = people”).
groupSearchBase( “ ou = groups”);
}

©️2020 CSDN 皮肤主题: 我行我“速” 设计师:Amelia_0503 返回首页