Add starter for OpenID Connect/OAuth2 client

Closes gh-13830
This commit is contained in:
Madhura Bhave 2018-08-17 13:02:50 -07:00
parent 1c224e5fbb
commit 09e09bf430
4 changed files with 45 additions and 13 deletions

View File

@ -470,6 +470,11 @@
<artifactId>spring-boot-starter-mustache</artifactId> <artifactId>spring-boot-starter-mustache</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-oidc-client</artifactId>
<version>${revision}</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-reactor-netty</artifactId> <artifactId>spring-boot-starter-reactor-netty</artifactId>

View File

@ -55,6 +55,7 @@
<module>spring-boot-starter-mail</module> <module>spring-boot-starter-mail</module>
<module>spring-boot-starter-mustache</module> <module>spring-boot-starter-mustache</module>
<module>spring-boot-starter-actuator</module> <module>spring-boot-starter-actuator</module>
<module>spring-boot-starter-oauth2-oidc-client</module>
<module>spring-boot-starter-parent</module> <module>spring-boot-starter-parent</module>
<module>spring-boot-starter-quartz</module> <module>spring-boot-starter-quartz</module>
<module>spring-boot-starter-reactor-netty</module> <module>spring-boot-starter-reactor-netty</module>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starters</artifactId>
<version>${revision}</version>
</parent>
<artifactId>spring-boot-starter-oauth2-oidc-client</artifactId>
<name>Spring Boot OAuth2/OpenID Connect Client Starter</name>
<description>Starter for using Spring Security's OAuth2/OpenID Connect client features</description>
<properties>
<main.basedir>${basedir}/../../..</main.basedir>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-jose</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -18,24 +18,12 @@
<!-- Compile --> <!-- Compile -->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId> <artifactId>spring-boot-starter-oauth2-oidc-client</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-jose</artifactId>
</dependency>
<!-- Test --> <!-- Test -->
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>