Skip to content

Resource server Users log in/ logout/ detail/ roles / privileges / group / team / ...

Notifications You must be signed in to change notification settings

sivaosorg/unused-ngx-blobs-uaa

Repository files navigation

Eagle logo
Resource server Users

The uaa server provide user details, user role, user privilege, user perms, user group, user team

⚡️ Quick start

Build application:

/bin/bash gradlew bootJar

Run application on dev:

start java -Xmx1024m -jar -Dspring.profiles.active=dev build\libs\ngx-blobs-uaa-1.0.0.jar &

Run application on prod:

start java -Xmx1024m -jar -Dspring.profiles.active=prod build\libs\ngx-blobs-uaa-1.0.0.jar &

output jar: ngx-blobs-uaa-1.0.0.jar

🚀 Functions

Checkout params

📦 checkout file application-params.yml

# ////////////////////////////
# Config Params Attributes
# ////////////////////////////
---
sivaos:
  swagger:
    description: API reference for developers
    contact-name: sivaos
    contact-url: https://github.com/pnguyen215
    contact-email: [email protected]
    license: sivaos 1.1
    license-url: https://swagger.io/license/
    version: v.1.1
  authentication:
    client-id: "sivaosUser" # set client id for user register
    client-secret: "sivaosU" # set client secret for user register
    host: "localhost:8083" # set host oauth2.0 for user register
    protocol: "http://" # set protocol for user register
    enable: true # enable authentication server (OAuth2.0), default is true
  cache:
    key-master: uaa
    callbacks:
      user-details:
        enabled: false # enable cache user info response into redis, default is false

# ////////////////////////////
# Config Kafka Attributes
# ////////////////////////////
---
spring:
  kafka:
    enable-ssl: false
    sasl:
      enabled: false
    producer:
      enable-deep-config: false

# ////////////////////////////
# Config 3rd Ally Attributes
# ////////////////////////////
---
spring:
  resource-server-callback-starter:
    enabled: false # enable to check token from authorization server (url)