Spring security maven dependency

spring-security-core

It contains authentication and access control functionality.

<properties>
    <org.springframework.security.version>3.2.3.RELEASE</org.springframework.security.version>
    <org.springframework.version>4.0.4.RELEASE</org.springframework.version>
</properties>
<dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-core</artifactId>
    <version>${org.springframework.security.version}</version>
</dependency>

spring-security-web

It contains filters and other web security related features.

<dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-web</artifactId>
    <version>${org.springframework.security.version}</version>
</dependency>

spring-security-config

It is used for configuring the authentication providers. Authentication providers can be like JDBC, DAO, LDAP etc.

<dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-config</artifactId>
    <version>${org.springframework.security.version}</version>
    <scope>runtime</scope>
</dependency>

Some other important dependencies are spring-security-ldap, spring-security-acl, spring-security-cas and spring-security-openid.