CodesJava

Easy learning with example program codes

spring security maven dependency


Spring security

Spring security is a flexible and powerful authentication and authorization framework to create secure J2EE-based Enterprise Applications.

Authentication: It is a process or action of verifying the identity of a user or process i.e. who are you?

Authorization: It is a process of checking the authority of a user to perform actions in the application i.e. what are you allowed to do?

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.



Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap