代码拉取完成,页面将自动刷新
同步操作将从 wl4g/iam 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cd xcloud-devops
# Packaged as a single executable jar
mvn -U clean install -DskipTests -T 2C -P springExecJar
# Packaged as general software release package (directory structure)
# mvn -U clean install -DskipTests -T 2C -P mvnAssTar
1,Server integration:
2,Client integration:
spring:
cloud:
devops:
iam: # IAM server configuration.
default-view-loader-path: classpath:/default-view/
default-view-base-uri: /view
login-uri: /default-view/login.html
success-uri: /default-view/index.html
unauthorized-uri: /default-view/403.html
filter-chain:
/public/**: anon # Public rule release
/test/**: anon # Testing rule release
param: # Must be consistent with the client, otherwise authentication will never succeed
sid: __sid
sid-save-cookie: __cookie
logout-forced: forced
application: service
grant-ticket: st
response-type: response_type
redirect-url: redirect_url
which: which
state: state
refreshUrl: refresh_url
agent: agent
authorizers: authorizers
second-auth-code: secondAuthCode
funcId: function
i18n-lang: lang
strategy: # Authentication api interactive strategy configuration.
response-template: '{"code":${code},"message":"${message}","status":"${status}","data":"${data}"}'
matcher:
fail-fast-match-max-attempts: 10
fail-fast-match-delay: 3600000
enabled-captcha-max-attempts: 3
fail-fast-captcha-max-attempts: 20
fail-fast-captcha-delay: 600000
captcha-expire-ms: 60000
fail-fast-sms-max-attempts: 3
fail-fast-sms-max-delay: 1800000
fail-fast-sms-delay: 90000
sms-expire-ms: 300000
cache:
prefix: iam_
session:
global-session-timeout: 1500000
session-validation-interval: 1500000
cookie:
name: IAMTOKEN_TGC
authc-internal-access:
secure: true
allowIp: 127.0.0.1
denyIp:
captcha:
enabled: true
- 2.5,All supported YML configurations on the client side:
spring:
cloud:
devops:
iam: # IAM client configuration.
authc-internal-access:
enable: true
allow-ip: 127.0.0.1
deny-ip:
client: # IAM client configuration.
service-name: ${spring.application.name}
# Authentication center api base uri
base-uri: http://localhost:14040/devops-iam
login-uri: ${spring.cloud.devops.iam.client.base-uri}/view/login.html
success-uri: http://localhost:${server.port}${server.contextPath}/index.html
unauthorized-uri: ${spring.cloud.devops.iam.client.base-uri}/view/403.html
use-remember-redirect: false
filter-chain:
/public/**: anon # Public rule release
param:
# Must be consistent with the server, otherwise authentication will never succeed
sid: __sid
sid-save-cookie: __cookie
logout-forced: forced
application: service
grant-ticket: st
response-type: response_type
redirect-url: redirect_url
which: which
state: state
refreshUrl: refresh_url
agent: agent
authorizers: authorizers
second-auth-code: secondAuthCode
funcId: function
cache:
prefix: ${spring.application.name}
session:
global-session-timeout: 1500000
session-validation-interval: 1500000
cookie:
name: IAMTOKEN_${spring.application.name}
- 3.1、Secondary development of Client
- 3.2、Secondary development of Server
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。