Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
zlt2000
microservices-platform
提交
c6dcd69e
microservices-platform
项目概览
zlt2000
/
microservices-platform
12 个月 前同步成功
通知
16
Star
4
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
microservices-platform
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c6dcd69e
编写于
5月 22, 2021
作者:
zlt2000
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
应用管理界面增加ID令牌相关的配置
上级
49264bdc
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
21 addition
and
3 deletion
+21
-3
zlt-uaa/src/main/resources/mapper/ClientMapper.xml
zlt-uaa/src/main/resources/mapper/ClientMapper.xml
+1
-0
zlt-web/back-web/src/main/resources/static/pages/attestation/app.html
...-web/src/main/resources/static/pages/attestation/app.html
+20
-3
未找到文件。
zlt-uaa/src/main/resources/mapper/ClientMapper.xml
浏览文件 @
c6dcd69e
...
...
@@ -50,6 +50,7 @@
, scope, authorized_grant_types, autoapprove
, access_token_validity accessTokenValiditySeconds
, refresh_token_validity refreshTokenValiditySeconds
, support_id_token, refresh_token_validity
from oauth_client_details
<include
refid=
"where"
/>
</select>
...
...
zlt-web/back-web/src/main/resources/static/pages/attestation/app.html
浏览文件 @
c6dcd69e
...
...
@@ -86,6 +86,19 @@
<
input
name
=
"
refreshTokenValiditySeconds
"
lay
-
verify
=
"
number
"
type
=
"
text
"
class
=
"
layui-input
"
maxlength
=
"
20
"
value
=
"
28800
"
/>
<
/div>
<
/div>
<
div
class
=
"
layui-form-item
"
>
<
label
class
=
"
layui-form-label
"
>
支持ID令牌
<
/label>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
radio
"
name
=
"
supportIdToken
"
value
=
"
true
"
title
=
"
是
"
checked
/>
<
input
type
=
"
radio
"
name
=
"
supportIdToken
"
value
=
"
false
"
title
=
"
否
"
/>
<
/div>
<
/div>
<
div
class
=
"
layui-form-item
"
>
<
label
class
=
"
layui-form-label
"
>
ID时效
(
s
)
<
/label>
<
div
class
=
"
layui-input-block
"
>
<
input
name
=
"
idTokenValiditySeconds
"
lay
-
verify
=
"
number
"
type
=
"
text
"
class
=
"
layui-input
"
maxlength
=
"
20
"
value
=
"
60
"
/>
<
/div>
<
/div>
<
div
class
=
"
layui-form-item model-form-footer
"
>
<
button
class
=
"
layui-btn layui-btn-primary
"
ew
-
event
=
"
closeDialog
"
type
=
"
button
"
>
取消
<
/button>
<
button
class
=
"
layui-btn
"
lay
-
filter
=
"
app-form-submit
"
lay
-
submit
>
保存
<
/button>
...
...
@@ -117,10 +130,14 @@
{
field
:
'
webServerRedirectUri
'
,
width
:
250
,
sort
:
true
,
title
:
'
回调地址
'
},
{
field
:
'
authorizedGrantTypes
'
,
width
:
250
,
sort
:
true
,
title
:
'
oauth授权方式
'
},
{
width
:
110
,
sort
:
true
,
title
:
'
自动审批
'
,
templet
:
function
(
d
)
{
return
d
.
autoapprove
==
'
true
'
?
"
是
"
:
"
否
"
return
d
.
autoapprove
==
'
true
'
?
"
是
"
:
"
否
"
}},
{
field
:
'
accessTokenValiditySeconds
'
,
width
:
130
,
sort
:
true
,
title
:
'
令牌时效(s)
'
},
{
field
:
'
refreshTokenValiditySeconds
'
,
width
:
130
,
sort
:
true
,
title
:
'
刷新时效(s)
'
},
{
width
:
120
,
sort
:
true
,
title
:
'
支持ID令牌
'
,
templet
:
function
(
d
)
{
return
d
.
supportIdToken
?
"
是
"
:
"
否
"
}},
{
field
:
'
idTokenValiditySeconds
'
,
width
:
130
,
sort
:
true
,
title
:
'
ID时效(s)
'
},
{
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
150
,
toolbar
:
'
#app-table-bar
'
,
title
:
'
操作
'
}
]]
});
...
...
@@ -167,8 +184,8 @@
layer
.
open
({
type
:
1
,
title
:
data
?
'
修改应用
'
:
'
添加应用
'
,
area
:
'
4
50px
'
,
offset
:
'
8
0px
'
,
area
:
'
7
50px
'
,
offset
:
'
3
0px
'
,
content
:
$
(
'
#app-model
'
).
html
(),
success
:
function
()
{
$
(
'
#app-form
'
)[
0
].
reset
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录