spring-security-ad用于基于Microsoft Active DirectoryAuthenticationProviderUserDetailsService。它适用于Windows 2003、2008和2012服务器。

项目设置 pom.xml:

<dependency>

    <groupId>org.springframework</groupId>

    <artifactId>spring-context</artifactId>

    <version>${spring.version}</version>

</dependency>

<dependency>

    <groupId>org.springframework</groupId>

    <artifactId>spring-security-core</artifactId>

    <version>${spring.security.version}</version>

</dependency>