Spring Cloud Config Client OAuth2

This project is a Spring Config Client with OAuth2 authentication.

Лицензия

Лицензия

Категории

Категории

H2 Данные Базы данных OAuth2 Безопасность CLI Взаимодействие с пользователем config Библиотеки уровня приложения Configuration
Группа

Группа

com.marcosbarbero.cloud
Идентификатор

Идентификатор

spring-cloud-config-client-oauth2
Последняя версия

Последняя версия

1.0.2.RELEASE
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring Cloud Config Client OAuth2
This project is a Spring Config Client with OAuth2 authentication.
Ссылка на сайт

Ссылка на сайт

https://github.com/marcosbarbero/spring-cloud-config-client-oauth2
Система контроля версий

Система контроля версий

https://github.com/marcosbarbero/spring-cloud-config-client-oauth2

Скачать spring-cloud-config-client-oauth2

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.marcosbarbero.cloud/spring-cloud-config-client-oauth2/ -->
<dependency>
    <groupId>com.marcosbarbero.cloud</groupId>
    <artifactId>spring-cloud-config-client-oauth2</artifactId>
    <version>1.0.2.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/com.marcosbarbero.cloud/spring-cloud-config-client-oauth2/
implementation 'com.marcosbarbero.cloud:spring-cloud-config-client-oauth2:1.0.2.RELEASE'
// https://jarcasting.com/artifacts/com.marcosbarbero.cloud/spring-cloud-config-client-oauth2/
implementation ("com.marcosbarbero.cloud:spring-cloud-config-client-oauth2:1.0.2.RELEASE")
'com.marcosbarbero.cloud:spring-cloud-config-client-oauth2:jar:1.0.2.RELEASE'
<dependency org="com.marcosbarbero.cloud" name="spring-cloud-config-client-oauth2" rev="1.0.2.RELEASE">
  <artifact name="spring-cloud-config-client-oauth2" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.marcosbarbero.cloud', module='spring-cloud-config-client-oauth2', version='1.0.2.RELEASE')
)
libraryDependencies += "com.marcosbarbero.cloud" % "spring-cloud-config-client-oauth2" % "1.0.2.RELEASE"
[com.marcosbarbero.cloud/spring-cloud-config-client-oauth2 "1.0.2.RELEASE"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.springframework.cloud : spring-cloud-config-client jar
org.springframework.security.oauth : spring-security-oauth2 jar
org.projectlombok : lombok jar 1.16.12

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar

Модули Проекта

Данный проект не имеет модулей.

Spring Cloud Config Client OAuth2

Spring Cloud Config Client that talks to Config Server with OAuth2 authentication.

Adding Project Lombok Agent

This project uses Project Lombok to generate getters and setters etc. Compiling from the command line this shouldn't cause any problems, but in an IDE you need to add an agent to the JVM. Full instructions can be found in the Lombok website. The sign that you need to do this is a lot of compiler errors to do with missing methods and fields.

Usage

This project is available on maven central

Import dependency to your project

<dependency>
    <groupId>com.marcosbarbero.cloud</groupId>
    <artifactId>spring-cloud-config-client-oauth2</artifactId>
    <version>1.0.2.RELEASE</version>
</dependency>

Configure the following properties on bootstrap.yml

spring.cloud.config.client:  
    oauth2:
      client-id: myClientId
      client-secret: myClientSecret
      access-token-uri: http://authserver.domain/oauth/token
      scope: #optional - default values 'read' and 'write'
       - read
       - write

Версии библиотеки

Версия
1.0.2.RELEASE
1.0.1.RELEASE
1.0.0.RELEASE