OAuth2 for Spring Security.
Module for providing OAuth2 support to Spring Security.
Here is the list of declaration for spring-security-oauth2. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.springframework.security.oauth</groupId> <artifactId>spring-security-oauth2</artifactId> <version>2.0.3.RELEASE</version> </dependency>
If you think this Maven repository POM file listing for spring-security-oauth2 is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The spring-security-oauth2-2.0.3.RELEASE has 13 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Data Structure | commons-codec 1.6 The codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities. | 114 |
JSON | jackson-mapper-asl 1.9.13 Data Mapper package is a high-performance data binding package built on Jackson JSON processor | 55 |
JEE | jackson-annotations 2.3.2 Core annotations used for value types, used by Jackson data binding package. | 17 |
JEE | jackson-databind 2.3.2 General data-binding functionality for Jackson: works on core streaming API | 86 |
Http | httpclient 4.3.3 HttpComponents Client | 32 |
JUnit | junit 4.11 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 2031 |
JUnit | powermock-module-junit4 1.5.4 PowerMock support module for JUnit 4.x. | 7 |
Testing Mock | mockito-core 1.9.5 Mock objects library for java | 429 |
Log | slf4j-api 1.7.6 The slf4j API | 273 |
The following plugins are used in the spring-security-oauth2-2.0.3.RELEASE.jar
The following packages are defined in the spring-security-oauth2-2.0.3.RELEASE.jar
org.springframework.security.oauth2.client org.springframework.security.oauth2.client.filter org.springframework.security.oauth2.client.filter.state org.springframework.security.oauth2.client.http org.springframework.security.oauth2.client.resource org.springframework.security.oauth2.client.test org.springframework.security.oauth2.client.token org.springframework.security.oauth2.client.token.auth org.springframework.security.oauth2.client.token.grant.client org.springframework.security.oauth2.client.token.grant.code org.springframework.security.oauth2.client.token.grant.implicit org.springframework.security.oauth2.client.token.grant.password org.springframework.security.oauth2.client.token.grant.redirect org.springframework.security.oauth2.common org.springframework.security.oauth2.common.exceptions org.springframework.security.oauth2.common.util org.springframework.security.oauth2.config.annotation.builders org.springframework.security.oauth2.config.annotation.configuration org.springframework.security.oauth2.config.annotation.configurers org.springframework.security.oauth2.config.annotation.web.configuration org.springframework.security.oauth2.config.annotation.web.configurers org.springframework.security.oauth2.config.xml org.springframework.security.oauth2.http.converter org.springframework.security.oauth2.http.converter.jaxb org.springframework.security.oauth2.provider org.springframework.security.oauth2.provider.approval org.springframework.security.oauth2.provider.authentication org.springframework.security.oauth2.provider.client org.springframework.security.oauth2.provider.code org.springframework.security.oauth2.provider.endpoint org.springframework.security.oauth2.provider.error org.springframework.security.oauth2.provider.expression org.springframework.security.oauth2.provider.implicit org.springframework.security.oauth2.provider.password org.springframework.security.oauth2.provider.refresh org.springframework.security.oauth2.provider.request org.springframework.security.oauth2.provider.token org.springframework.security.oauth2.provider.token.store org.springframework.security.oauth2.provider.vote
Here is the content of the POM file.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.security.oauth</groupId> <artifactId>spring-security-oauth-parent</artifactId> <version>2.0.3.RELEASE</version> </parent> <artifactId>spring-security-oauth2</artifactId> <name>OAuth2 for Spring Security</name> <description>Module for providing OAuth2 support to Spring Security</description> <properties> <jackson1.version>1.9.13</jackson1.version> <jackson2.version>2.3.2</jackson2.version> <spring.security.jwt.version>1.0.2.RELEASE</spring.security.jwt.version> </properties> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>site</phase> <configuration> <tasks> <mkdir dir="${project.reporting.outputDirectory}/schema" /> <copy todir="${project.reporting.outputDirectory}/schema"> <fileset dir="src/main/resources"> <include name="**/*.xsd" /> </fileset> <mapper type="flatten" /> </copy> <copy file="${project.reporting.outputDirectory}/schema/spring-security-oauth2-2.0.xsd" tofile="${project.reporting.outputDirectory}/schema/spring-security-oauth2.xsd" /> <zip destfile="${project.reporting.outputDirectory}/sparklr2.zip"> <zipfileset dir="../samples/oauth2/sparklr" includes="pom.xml src/**" prefix="sparklr" /> </zip> <zip destfile="${project.reporting.outputDirectory}/tonr2.zip"> <zipfileset dir="../samples/oauth2/tonr" includes="pom.xml src/**" prefix="tonr" /> </zip> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <!-- In case we test with Spring 4 --> <version>3.0.1</version> <scope>provided</scope> </dependency> <dependency> <!--for the annotations. --> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring.version}</version> </dependency> <dependency> <!--for the annotations. --> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <!--for the annotations. --> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <!--for the annotations. --> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${spring.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-core</artifactId> <version>${spring.security.version}</version> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-config</artifactId> <version>${spring.security.version}</version> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-jwt</artifactId> <version>${spring.security.jwt.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> <version>${spring.security.version}</version> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.6</version> </dependency> <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-mapper-asl</artifactId> <version>${jackson1.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${jackson2.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson2.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.3.3</version> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>1.5.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito</artifactId> <version>1.5.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>1.9.5</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.6</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb-j5</artifactId> <version>2.0.0</version> <scope>test</scope> </dependency> </dependencies> </project>