Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yujianwangzivayy
MaxKey
提交
a8fafe94
MaxKey
项目概览
yujianwangzivayy
/
MaxKey
与 Fork 源项目一致
Fork自
MaxKey单点登录官方(MaxKeyTop) / MaxKey
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
MaxKey
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a8fafe94
编写于
8月 26, 2020
作者:
MaxKey单点登录官方
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
adapter
上级
745b4583
变更
18
显示空白变更内容
内联
并排
Showing
18 changed file
with
118 addition
and
418 deletion
+118
-418
maxkey-web-manage/src/main/resources/templates/views/apps/appAddCommon.ftl
.../src/main/resources/templates/views/apps/appAddCommon.ftl
+17
-0
maxkey-web-manage/src/main/resources/templates/views/apps/appCommonHead.ftl
...src/main/resources/templates/views/apps/appCommonHead.ftl
+36
-0
maxkey-web-manage/src/main/resources/templates/views/apps/appUpdateCommon.ftl
...c/main/resources/templates/views/apps/appUpdateCommon.ftl
+19
-15
maxkey-web-manage/src/main/resources/templates/views/apps/appsExtendAttr.ftl
...rc/main/resources/templates/views/apps/appsExtendAttr.ftl
+1
-1
maxkey-web-manage/src/main/resources/templates/views/apps/basic/appAdd.ftl
.../src/main/resources/templates/views/apps/basic/appAdd.ftl
+1
-23
maxkey-web-manage/src/main/resources/templates/views/apps/basic/appUpdate.ftl
...c/main/resources/templates/views/apps/basic/appUpdate.ftl
+1
-31
maxkey-web-manage/src/main/resources/templates/views/apps/desktop/appAdd.ftl
...rc/main/resources/templates/views/apps/desktop/appAdd.ftl
+4
-16
maxkey-web-manage/src/main/resources/templates/views/apps/desktop/appUpdate.ftl
...main/resources/templates/views/apps/desktop/appUpdate.ftl
+2
-24
maxkey-web-manage/src/main/resources/templates/views/apps/extendapi/appAdd.ftl
.../main/resources/templates/views/apps/extendapi/appAdd.ftl
+3
-18
maxkey-web-manage/src/main/resources/templates/views/apps/extendapi/appUpdate.ftl
...in/resources/templates/views/apps/extendapi/appUpdate.ftl
+2
-23
maxkey-web-manage/src/main/resources/templates/views/apps/formbased/appAdd.ftl
.../main/resources/templates/views/apps/formbased/appAdd.ftl
+2
-17
maxkey-web-manage/src/main/resources/templates/views/apps/formbased/appUpdate.ftl
...in/resources/templates/views/apps/formbased/appUpdate.ftl
+2
-23
maxkey-web-manage/src/main/resources/templates/views/apps/oauth20/appAdd.ftl
...rc/main/resources/templates/views/apps/oauth20/appAdd.ftl
+2
-25
maxkey-web-manage/src/main/resources/templates/views/apps/oauth20/appUpdate.ftl
...main/resources/templates/views/apps/oauth20/appUpdate.ftl
+3
-34
maxkey-web-manage/src/main/resources/templates/views/apps/saml20/appAdd.ftl
...src/main/resources/templates/views/apps/saml20/appAdd.ftl
+2
-24
maxkey-web-manage/src/main/resources/templates/views/apps/saml20/appUpdate.ftl
.../main/resources/templates/views/apps/saml20/appUpdate.ftl
+15
-36
maxkey-web-manage/src/main/resources/templates/views/apps/tokenbased/appAdd.ftl
...main/resources/templates/views/apps/tokenbased/appAdd.ftl
+2
-50
maxkey-web-manage/src/main/resources/templates/views/apps/tokenbased/appUpdate.ftl
...n/resources/templates/views/apps/tokenbased/appUpdate.ftl
+4
-58
未找到文件。
maxkey-web-manage/src/main/resources/templates/views/apps/appAddCommon.ftl
浏览文件 @
a8fafe94
...
@@ -75,5 +75,22 @@
...
@@ -75,5 +75,22 @@
<input type="text" class="form-control" id="description" name="description" title="" value=""/>
<input type="text" class="form-control" id="description" name="description" title="" value=""/>
</td>
</td>
</tr>
</tr>
<tr>
<th><@locale code="apps.isAdapter" />:</th>
<td>
<select id="isAdapter" name="isAdapter" class="form-control" >
<option value="0" selected><@locale code="apps.isAdapter.no" /></option>
<option value="1"><@locale code="apps.isAdapter.yes" /></option>
</select>
</td>
<td >
</td>
</tr>
<tr>
<th><@locale code="apps.adapter" />:</th>
<td colspan =3>
<input type="text" class="form-control" id="adapter" name="adapter" title="" value=""/>
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
maxkey-web-manage/src/main/resources/templates/views/apps/appCommonHead.ftl
0 → 100644
浏览文件 @
a8fafe94
<style type="text/css">
.table th, .table td {
padding: .2rem;
vertical-align: middle;
}
</style>
<script type="text/javascript">
<!--
$(function(){
$("#algorithm").change(function(){
$.post("<@base/>/apps/generate/secret/"+$(this).val(), {_method:"post",currTime:(new Date()).getTime()}, function(data) {
$("#algorithmKey").val(data+"");
$("#algorithmKey_text").html(data+"");
$("#secret").val(data+"");
$("#secret_text").html(data+"");
});
});
$("#generateSecret").on("click",function(){
$.post("<@base/>/apps/generate/secret/"+$("#algorithm").val(), {_method:"post",currTime:(new Date()).getTime()}, function(data) {
$("#algorithmKey").val(data+"");
$("#algorithmKey_text").html(data+"");
$("#secret").val(data+"");
$("#secret_text").html(data+"");
});
});
$("#iconFileImg").on("click",function(){
if(!$("#iconFileImg").hasClass("appended")){
$("#iconFileImg").after('<input type="file" id="iconFile" name="iconFile" title="" value=""/>');
$("#iconFileImg").addClass("appended");
}
});
});
//-->
</script>
maxkey-web-manage/src/main/resources/templates/views/apps/appUpdateCommon.ftl
浏览文件 @
a8fafe94
<script type="text/javascript">
<!--
$(function(){
$("#iconFileImg").on("click",function(){
if(!$("#iconFileImg").hasClass("appended")){
$("#iconFileImg").after('<input type="file" id="iconFile" name="iconFile" title="" value=""/>');
$("#iconFileImg").addClass("appended");
}
});
});
//-->
</script>
<!--table-->
<!--table-->
<table width="960" class="table table-bordered" >
<table width="960" class="table table-bordered" >
<tbody>
<tbody>
...
@@ -25,9 +13,8 @@
...
@@ -25,9 +13,8 @@
</td>
</td>
<th style="width:15%;"><@locale code="apps.secret"/>:</th>
<th style="width:15%;"><@locale code="apps.secret"/>:</th>
<td style="width:35%;">
<td style="width:35%;">
<input id="generateSecret" type="button" class="button" value="<@locale code="button.text.generate"/>"/><br>
<input type="text" id="secret" readonly style="width:80%;float: left;font-weight: bold;" class="form-control" name="secret" title="" value="${model.secret!}"/>
<div id="secret_text" style="width:100%;font-weight: bold;">${model.secret!}</div>
<input id="generateSecret" type="button" class="button btn btn-warning mr-2" value="<@locale code="button.text.generate"/>"/>
<input type="hidden" id="secret" name="secret" title="" value="${model.secret!}"/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -90,6 +77,23 @@
...
@@ -90,6 +77,23 @@
wheight="650"
wheight="650"
target="window">
target="window">
</td>
</td>
</tr>
<tr>
<th><@locale code="apps.isAdapter" />:</th>
<td>
<select id="isAdapter" name="isAdapter" class="form-control">
<option value="0" <#if 0==model.isAdapter>selected</#if> ><@locale code="apps.isAdapter.no"/></option>
<option value="1" <#if 1==model.isAdapter>selected</#if> ><@locale code="apps.isAdapter.yes"/></option>
</select>
</td>
<td >
</td>
</tr>
<tr>
<th><@locale code="apps.adapter" />:</th>
<td colspan =3>
<input type="text" class="form-control" id="adapter" name="adapter" title="" value="${model.adapter!}"/>
</td>
</tr>
</tr>
<tr>
<tr>
<th><@locale code="common.text.description"/>:</th>
<th><@locale code="common.text.description"/>:</th>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/appsExtendAttr.ftl
浏览文件 @
a8fafe94
...
@@ -18,7 +18,7 @@ $(function(){
...
@@ -18,7 +18,7 @@ $(function(){
var
html
=
'
<tr id="extendTr_
'
+
attrIndex
+
'
">
'
;
var
html
=
'
<tr id="extendTr_
'
+
attrIndex
+
'
">
'
;
//Index
//Index
html
+=
'
<th nowrap ><@locale code="apps.extendAttr.parameter"/>:
'
;
html
+=
'
<th nowrap ><@locale code="apps.extendAttr.parameter"/>:
'
;
html
+=
'
<input class="button delExtendTr" type="button" name="delExtendTr" attrTrId="extendTr_
'
+
attrIndex
+
'
" value="<@locale code="button.text.delete" />"/>
'
;
html
+=
'
<input class="button
btn btn-danger mr-3
delExtendTr" type="button" name="delExtendTr" attrTrId="extendTr_
'
+
attrIndex
+
'
" value="<@locale code="button.text.delete" />"/>
'
;
html
+=
'
</th>
'
;
html
+=
'
</th>
'
;
//attribute
//attribute
html
+=
'
<td>
'
;
html
+=
'
<td>
'
;
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/basic/appAdd.ftl
浏览文件 @
a8fafe94
...
@@ -3,27 +3,7 @@
...
@@ -3,27 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
$
(
"
#algorithm
"
).
change
(
function
(){
$
.
post
(
"
<s:Base/>/apps/generate/secret/
"
+
$
(
this
).
val
(),
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
});
//-->
</script>
</head>
</head>
<body>
<body>
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
...
@@ -56,8 +36,6 @@ $(function(){
...
@@ -56,8 +36,6 @@ $(function(){
</tbody>
</tbody>
</table>
</table>
</form>
</form>
</body>
</body>
</html>
</html>
\ No newline at end of file
maxkey-web-manage/src/main/resources/templates/views/apps/basic/appUpdate.ftl
浏览文件 @
a8fafe94
...
@@ -3,37 +3,7 @@
...
@@ -3,37 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
$
(
"
#algorithm
"
).
change
(
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/
"
+
$
(
this
).
val
(),
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#algorithmKey
"
).
val
(
data
+
""
);
$
(
"
#algorithmKey_text
"
).
html
(
data
+
""
);
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
$
(
"
#generateSecret
"
).
on
(
"
click
"
,
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/
"
+
$
(
"
#algorithm
"
).
val
(),
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#algorithmKey
"
).
val
(
data
+
""
);
$
(
"
#algorithmKey_text
"
).
html
(
data
+
""
);
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
});
//-->
</script>
</head>
</head>
<body>
<body>
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/desktop/appAdd.ftl
浏览文件 @
a8fafe94
...
@@ -3,12 +3,7 @@
...
@@ -3,12 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
<!--
<!--
$
(
function
(){
$
(
function
(){
...
@@ -173,19 +168,12 @@ $(function(){
...
@@ -173,19 +168,12 @@ $(function(){
<
@
locale
code=
"apps.credential.system"
/>
<
@
locale
code=
"apps.credential.system"
/>
<b
class=
"orange"
>
*
</b><label
for=
"credential"
></label>
<b
class=
"orange"
>
*
</b><label
for=
"credential"
></label>
</td>
</td>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th
style=
"width:15%;"
></th>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
selected
><
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
><
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</td>
</tr>
</tr>
<tr>
>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
""
/>
</td>
</tr>
</tr>
<tr
id=
"systemconfigure"
style=
"display:none"
>
<tr
id=
"systemconfigure"
style=
"display:none"
>
<th><
@
locale
code=
"apps.credential"
/>
:
</th>
<th><
@
locale
code=
"apps.credential"
/>
:
</th>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/desktop/appUpdate.ftl
浏览文件 @
a8fafe94
...
@@ -3,22 +3,10 @@
...
@@ -3,22 +3,10 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
<!--
<!--
$
(
function
(){
$
(
function
(){
$
(
"
#generateSecret
"
).
on
(
"
click
"
,
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/oauth20
"
,
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
$
(
"
#usernameType
"
).
change
(
function
(){
$
(
"
#usernameType
"
).
change
(
function
(){
if
(
$
(
this
).
val
()
==
"
SIMULATION
"
){
if
(
$
(
this
).
val
()
==
"
SIMULATION
"
){
$
(
"
.usernameParameter
"
).
hide
();
$
(
"
.usernameParameter
"
).
hide
();
...
@@ -185,18 +173,8 @@ $(function(){
...
@@ -185,18 +173,8 @@ $(function(){
<
@
locale
code=
"apps.credential.system"
/>
<
@
locale
code=
"apps.credential.system"
/>
</td>
</td>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th
style=
"width:15%;"
></th>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
<
#if
0==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
<
#if
1==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
"${model.adapter}"
/>
</td>
</td>
</tr>
</tr>
<tr
id=
"systemconfigure"
<
#if
1!=
model.credential
>
style="display:none"
</
#
if>
>
<tr
id=
"systemconfigure"
<
#if
1!=
model.credential
>
style="display:none"
</
#
if>
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/extendapi/appAdd.ftl
浏览文件 @
a8fafe94
...
@@ -3,13 +3,7 @@
...
@@ -3,13 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
<!--
<!--
$
(
function
(){
$
(
function
(){
...
@@ -69,18 +63,9 @@ $(function(){
...
@@ -69,18 +63,9 @@ $(function(){
<
@
locale
code=
"apps.credential.system"
/>
<
@
locale
code=
"apps.credential.system"
/>
<b
class=
"orange"
>
*
</b><label
for=
"credential"
></label>
<b
class=
"orange"
>
*
</b><label
for=
"credential"
></label>
</td>
</td>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th
style=
"width:15%;"
></th>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<select
class=
"form-control"
id=
"isAdapter"
name=
"isAdapter"
>
<option
value=
"0"
selected
><
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
><
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
class=
"form-control"
type=
"text"
id=
"adapter"
name=
"adapter"
title=
""
value=
""
/>
</td>
</td>
</tr>
</tr>
<tr
id=
"systemconfigure"
style=
"display:none"
>
<tr
id=
"systemconfigure"
style=
"display:none"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/extendapi/appUpdate.ftl
浏览文件 @
a8fafe94
...
@@ -3,21 +3,10 @@
...
@@ -3,21 +3,10 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
<!--
<!--
$
(
function
(){
$
(
function
(){
$
(
"
#generateSecret
"
).
on
(
"
click
"
,
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/oauth20
"
,
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
$
(
"
input[name='credential']
"
).
on
(
"
click
"
,
function
(){
$
(
"
input[name='credential']
"
).
on
(
"
click
"
,
function
(){
if
(
$
(
this
).
val
()
==
"
3
"
){
if
(
$
(
this
).
val
()
==
"
3
"
){
...
@@ -75,18 +64,8 @@ $(function(){
...
@@ -75,18 +64,8 @@ $(function(){
<
@
locale
code=
"apps.credential.system"
/>
<
@
locale
code=
"apps.credential.system"
/>
</td>
</td>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th
style=
"width:15%;"
></th>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
<
#if
0==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
<
#if
1==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
"${model.adapter}"
/>
</td>
</td>
</tr>
</tr>
<tr
id=
"systemconfigure"
<
#if
1!=
model.credential
>
style="display:none"
</
#
if>
>
<tr
id=
"systemconfigure"
<
#if
1!=
model.credential
>
style="display:none"
</
#
if>
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/formbased/appAdd.ftl
浏览文件 @
a8fafe94
...
@@ -3,12 +3,7 @@
...
@@ -3,12 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
<!--
<!--
...
@@ -83,18 +78,8 @@ $(function(){
...
@@ -83,18 +78,8 @@ $(function(){
<
@
locale
code=
"apps.credential.system"
/>
<
@
locale
code=
"apps.credential.system"
/>
<b
class=
"orange"
>
*
</b><label
for=
"credential"
></label>
<b
class=
"orange"
>
*
</b><label
for=
"credential"
></label>
</td>
</td>
<th><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th></th>
<td>
<td>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
selected
><
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
><
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
""
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/formbased/appUpdate.ftl
浏览文件 @
a8fafe94
...
@@ -3,21 +3,10 @@
...
@@ -3,21 +3,10 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
<!--
<!--
$
(
function
(){
$
(
function
(){
$
(
"
#generateSecret
"
).
on
(
"
click
"
,
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/oauth20
"
,
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
$
(
"
input[name='credential']
"
).
on
(
"
click
"
,
function
(){
$
(
"
input[name='credential']
"
).
on
(
"
click
"
,
function
(){
if
(
$
(
this
).
val
()
==
"
3
"
){
if
(
$
(
this
).
val
()
==
"
3
"
){
...
@@ -86,18 +75,8 @@ $(function(){
...
@@ -86,18 +75,8 @@ $(function(){
<
@
locale
code=
"apps.credential.system"
/>
<
@
locale
code=
"apps.credential.system"
/>
</td>
</td>
<th><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th></th>
<td
>
<td
>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
<
#if
0==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
<
#if
1==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
"${model.adapter!}"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/oauth20/appAdd.ftl
浏览文件 @
a8fafe94
...
@@ -3,18 +3,7 @@
...
@@ -3,18 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
});
//-->
</script>
</head>
</head>
<body>
<body>
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
...
@@ -210,20 +199,8 @@ $(function(){
...
@@ -210,20 +199,8 @@ $(function(){
<
@
locale
code=
"apps.oauth.approvalPrompt.auto"
/></option>
<
@
locale
code=
"apps.oauth.approvalPrompt.auto"
/></option>
</select>
</select>
</td>
</td>
<th><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th></th>
<td
>
<td
>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
selected
>
<
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
>
<
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
""
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/oauth20/appUpdate.ftl
浏览文件 @
a8fafe94
...
@@ -3,27 +3,7 @@
...
@@ -3,27 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
$
(
"
#generateSecret
"
).
on
(
"
click
"
,
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/oauth20
"
,
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#clientSecret
"
).
val
(
data
+
""
);
$
(
"
#clientSecret_text
"
).
html
(
data
+
""
);
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
});
//-->
</script>
</head>
</head>
<body>
<body>
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
...
@@ -217,20 +197,9 @@ $(function(){
...
@@ -217,20 +197,9 @@ $(function(){
<
@
locale
code=
"apps.oauth.approvalPrompt.auto"
/></option>
<
@
locale
code=
"apps.oauth.approvalPrompt.auto"
/></option>
</select>
</select>
</td>
</td>
<th><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th></th>
<td
>
<td
>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
<
#if
0==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
<
#if
1==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
"${model.adapter!}"
/>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/saml20/appAdd.ftl
浏览文件 @
a8fafe94
...
@@ -3,19 +3,7 @@
...
@@ -3,19 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
});
//-->
</script>
</head>
</head>
<body>
<body>
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
...
@@ -175,18 +163,8 @@ $(function(){
...
@@ -175,18 +163,8 @@ $(function(){
<
@
locale
code=
"apps.saml.encrypted.yes"
/></option>
<
@
locale
code=
"apps.saml.encrypted.yes"
/></option>
</select>
</select>
</td>
</td>
<th><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th></th>
<td>
<td>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
selected
><
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
><
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
""
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/saml20/appUpdate.ftl
浏览文件 @
a8fafe94
...
@@ -3,22 +3,10 @@
...
@@ -3,22 +3,10 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
<script
type=
"text/javascript"
>
padding
:
.2rem
;
<!--
vertical-align
:
middle
;
$
(
function
(){
}
</style>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
$
(
"
#generateSecret
"
).
on
(
"
click
"
,
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/oauth20
"
,
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
$
(
"
#certMetaFileImg
"
).
on
(
"
click
"
,
function
(){
$
(
"
#certMetaFileImg
"
).
on
(
"
click
"
,
function
(){
if
(
!
$
(
"
#certMetaFileImg
"
).
hasClass
(
"
appended
"
)){
if
(
!
$
(
"
#certMetaFileImg
"
).
hasClass
(
"
appended
"
)){
$
(
"
#certMetaFileImg
"
).
after
(
'
<input id="certMetaFile" type="file" name="certMetaFile" />
'
);
$
(
"
#certMetaFileImg
"
).
after
(
'
<input id="certMetaFile" type="file" name="certMetaFile" />
'
);
...
@@ -26,9 +14,9 @@ $(function(){
...
@@ -26,9 +14,9 @@ $(function(){
}
}
});
});
});
});
//-->
//-->
</script>
</script>
</head>
</head>
<body>
<body>
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
...
@@ -183,18 +171,9 @@ $(function(){
...
@@ -183,18 +171,9 @@ $(function(){
<
@
locale
code=
"apps.saml.encrypted.yes"
/></option>
<
@
locale
code=
"apps.saml.encrypted.yes"
/></option>
</select>
</select>
</td>
</td>
<th><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th></th>
<td
>
<td
>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
<
#if
0==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
<
#if
1==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
"${model.adapter}"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/tokenbased/appAdd.ftl
浏览文件 @
a8fafe94
...
@@ -3,33 +3,7 @@
...
@@ -3,33 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
$
(
"
#algorithm
"
).
change
(
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/
"
+
$
(
this
).
val
(),
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#algorithmKey
"
).
val
(
data
+
""
);
$
(
"
#algorithmKey_text
"
).
html
(
data
+
""
);
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
$
(
"
#selectAdapter
"
).
change
(
function
(){
$
(
"
#adapter
"
).
val
(
$
(
"
#selectAdapter
"
).
val
());
});
});
//-->
</script>
</head>
</head>
<body>
<body>
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
...
@@ -111,30 +85,8 @@ $(function(){
...
@@ -111,30 +85,8 @@ $(function(){
<td>
<td>
<input
type=
"text"
class=
"form-control"
id=
"expires"
name=
"expires"
title=
""
value=
"1"
required=
""
/>
<input
type=
"text"
class=
"form-control"
id=
"expires"
name=
"expires"
title=
""
value=
"1"
required=
""
/>
</td>
</td>
<th><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th></th>
<td
>
<td
>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
selected
><
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
><
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<select
id=
"selectAdapter"
name=
"selectAdapter"
class=
"form-control"
>
<option
value=
""
>
No Adapter
</option>
<option
value=
"org.maxkey.authz.token.endpoint.adapter.TokenBasedDefaultAdapter"
<
#if
"
org.maxkey.authz.token.endpoint.adapter.TokenBasedDefaultAdapter
"==
model.adapter
!
>
selected
</
#
if>
>DefaultAdapter
</option>
<option
value=
"org.maxkey.authz.token.endpoint.adapter.TokenBasedSimpleAdapter"
<
#if
"
org.maxkey.authz.token.endpoint.adapter.TokenBasedSimpleAdapter
"==
model.adapter
!
>
selected
</
#
if>
>SimpleAdapter
</option>
<option
value=
"org.maxkey.authz.token.endpoint.adapter.TokenBasedJWTAdapter"
<
#if
"
org.maxkey.authz.token.endpoint.adapter.TokenBasedJWTAdapter
"==
model.adapter
!
>
selected
</
#
if>
>JWTAdapter
</option>
<option
value=
"org.maxkey.authz.token.endpoint.adapter.TokenBasedJWTHS256Adapter"
<
#if
"
org.maxkey.authz.token.endpoint.adapter.TokenBasedJWTHS256Adapter
"==
model.adapter
!
>
selected
</
#
if>
>JWTHS256Adapter
</option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
""
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/tokenbased/appUpdate.ftl
浏览文件 @
a8fafe94
...
@@ -3,40 +3,7 @@
...
@@ -3,40 +3,7 @@
<head>
<head>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<style
type=
"text/css"
>
<
#include
"../
appCommonHead.ftl
"
/>
.table
th
,
.table
td
{
padding
:
.2rem
;
vertical-align
:
middle
;
}
</style>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
$
(
"
#algorithm
"
).
change
(
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/
"
+
$
(
this
).
val
(),
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#algorithmKey
"
).
val
(
data
+
""
);
$
(
"
#algorithmKey_text
"
).
html
(
data
+
""
);
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
$
(
"
#selectAdapter
"
).
change
(
function
(){
$
(
"
#adapter
"
).
val
(
$
(
"
#selectAdapter
"
).
val
());
});
$
(
"
#generateSecret
"
).
on
(
"
click
"
,
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/
"
+
$
(
"
#algorithm
"
).
val
(),
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#algorithmKey
"
).
val
(
data
+
""
);
$
(
"
#algorithmKey_text
"
).
html
(
data
+
""
);
$
(
"
#secret
"
).
val
(
data
+
""
);
$
(
"
#secret_text
"
).
html
(
data
+
""
);
});
});
});
//-->
</script>
</head>
</head>
<body>
<body>
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
...
@@ -76,7 +43,7 @@ $(function(){
...
@@ -76,7 +43,7 @@ $(function(){
<th
><
@
locale
code=
"apps.tokenbased.cookieName"
/>
:
</th>
<th
><
@
locale
code=
"apps.tokenbased.cookieName"
/>
:
</th>
<td
>
<td
>
<input
type=
"text"
class=
"form-control"
id=
"cookieName"
name=
"cookieName"
title=
""
value=
"${model.cookieName!}"
/>
<input
type=
"text"
class=
"form-control"
id=
"cookieName"
name=
"cookieName"
title=
""
value=
"${model.cookieName!}"
/>
<b
class=
"orange"
>
*
</b><label
for=
"cookieName"
></label>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -120,32 +87,11 @@ $(function(){
...
@@ -120,32 +87,11 @@ $(function(){
<td>
<td>
<input
type=
"text"
class=
"form-control"
id=
"expires"
name=
"expires"
title=
""
value=
"${model.expires}"
required=
""
/>
<input
type=
"text"
class=
"form-control"
id=
"expires"
name=
"expires"
title=
""
value=
"${model.expires}"
required=
""
/>
</td>
</td>
<th><
@
locale
code=
"apps.isAdapter"
/>
:
<
/th>
<th></th>
<td>
<td>
<select
id=
"isAdapter"
name=
"isAdapter"
class=
"form-control"
>
<option
value=
"0"
<
#if
0==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.no"
/></option>
<option
value=
"1"
<
#if
1==
model.isAdapter
>
selected
</
#
if>
>
<
@
locale
code=
"apps.isAdapter.yes"
/></option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<select
id=
"selectAdapter"
name=
"selectAdapter"
class=
"form-control"
>
<option
value=
""
>
No Adapter
</option>
<option
value=
"org.maxkey.authz.token.endpoint.adapter.TokenBasedDefaultAdapter"
<
#if
'
org.maxkey.authz.token.endpoint.adapter.TokenBasedDefaultAdapter
'==
model.adapter
!
false
>
selected
</
#
if>
>DefaultAdapter
</option>
<option
value=
"org.maxkey.authz.token.endpoint.adapter.TokenBasedSimpleAdapter"
<
#if
'
org.maxkey.authz.token.endpoint.adapter.TokenBasedSimpleAdapter
'==
model.adapter
!
>
selected
</
#
if>
>SimpleAdapter
</option>
<option
value=
"org.maxkey.authz.token.endpoint.adapter.TokenBasedJWTAdapter"
<
#if
'
org.maxkey.authz.token.endpoint.adapter.TokenBasedJWTAdapter
'==
model.adapter
!
>
selected
</
#
if>
>JWTAdapter
</option>
<option
value=
"org.maxkey.authz.token.endpoint.adapter.TokenBasedJWTHS256Adapter"
<
#if
'
org.maxkey.authz.token.endpoint.adapter.TokenBasedJWTHS256Adapter
'==
model.adapter
!
>
selected
</
#
if>
>JWTHS256Adapter
</option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.adapter"
/>
:
</th>
<td
colspan =
3
>
<input
type=
"text"
class=
"form-control"
id=
"adapter"
name=
"adapter"
title=
""
value=
"${model.adapter!}"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan =
4
>
<td
colspan =
4
>
<input
class=
"button btn btn-primary mr-3"
id=
"submitBtn"
type=
"submit"
value=
"<@locale code="
button.text.save
"
/>
"/>
<input
class=
"button btn btn-primary mr-3"
id=
"submitBtn"
type=
"submit"
value=
"<@locale code="
button.text.save
"
/>
"/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录