MVN

com.gccloud : gc-starter-cloud-authentication-demo

Maven & Gradle

Jul 03, 2023

微服务之间各个模块的认证鉴权,因为每个项目提供的鉴权服务不一样、当前用户信息和业务相关 所以:如果存在此需求,复制一份该模块即可 此模块应该和提供鉴权的服务进行交互,返回当前用户的权限、角色、基本信息并缓存到上下文中

<dependency>
    <groupId>com.gccloud</groupId>
    <artifactId>gc-starter-cloud-authentication-demo</artifactId>
    <version>2.0.0.RELEASE</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.gccloud : gc-starter-cloud-authentication-demo to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.0.0.RELEASE

All Versions

Choose a version of com.gccloud : gc-starter-cloud-authentication-demo to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.0.x
gc-starter-cloud-authentication-demo-2.0.0.RELEASE

How to add a dependency to Maven

Add the following com.gccloud : gc-starter-cloud-authentication-demo maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.gccloud</groupId>
    <artifactId>gc-starter-cloud-authentication-demo</artifactId>
    <version>2.0.0.RELEASE</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.gccloud : gc-starter-cloud-authentication-demo gradle dependency to your build.gradle file:

implementation 'com.gccloud:gc-starter-cloud-authentication-demo:2.0.0.RELEASE'

Gradle Kotlin DSL: Add the following com.gccloud : gc-starter-cloud-authentication-demo gradle kotlin dependency to your build.gradle.kts file:

implementation("com.gccloud:gc-starter-cloud-authentication-demo:2.0.0.RELEASE")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.gccloud : gc-starter-cloud-authentication-demo sbt scala dependency to your build.sbt file:

libraryDependencies += "com.gccloud" % "gc-starter-cloud-authentication-demo" % "2.0.0.RELEASE"