mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 12:32:09 +08:00
oauth client_credentials Optimize
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#spring.profiles.active=http #
|
||||
############################################################################
|
||||
#server port
|
||||
server.port =8080
|
||||
server.port =80
|
||||
#session default 1800
|
||||
#1800s =30m
|
||||
#28800s=8h
|
||||
|
||||
@@ -27,5 +27,5 @@ spring.main.banner-mode =log
|
||||
############################################################################
|
||||
#spring.profiles.active https/http; default https #
|
||||
############################################################################
|
||||
spring.profiles.active =https
|
||||
spring.profiles.active =http
|
||||
|
||||
|
||||
@@ -57,9 +57,7 @@ public class AccountsStrategyJob implements Job , Serializable {
|
||||
accountsService =
|
||||
(AccountsService) context.getMergedJobDataMap().get("service");
|
||||
}else {
|
||||
|
||||
accountsService.refreshAllByStrategy();
|
||||
|
||||
Thread.sleep(10 *1000);
|
||||
}
|
||||
_logger.debug("DynamicGroupsJob is success " );
|
||||
|
||||
@@ -56,9 +56,7 @@ public class DynamicGroupsJob implements Job , Serializable {
|
||||
groupsService =
|
||||
(GroupsService) context.getMergedJobDataMap().get("service");
|
||||
}else {
|
||||
|
||||
groupsService.refreshAllDynamicGroups();
|
||||
|
||||
Thread.sleep(10 *1000);
|
||||
}
|
||||
_logger.debug("DynamicGroupsJob is success " );
|
||||
|
||||
@@ -81,6 +81,7 @@
|
||||
<td>authorization_code | code<input type="checkbox" id="grantTypes_authorization_code" name="authorizedGrantTypes" value="authorization_code" checked /></td>
|
||||
<td>password<input type="checkbox" id="grantTypes_trust" name="authorizedGrantTypes" value="password"/></td>
|
||||
<td>implicit<input type="checkbox" id="grantTypes_implicit" name="authorizedGrantTypes" value="implicit"/></td>
|
||||
<td>client_credentials<input type="checkbox" id="grantTypes_client_credentials" name="authorizedGrantTypes" value="client_credentials"/></td>
|
||||
<td>refresh_token<input type="checkbox" id="grantTypes_refresh_token" name="authorizedGrantTypes" value="refresh_token"/></td>
|
||||
<td>id_token<input type="checkbox" id="grantTypes_id_token" name="authorizedGrantTypes" value="id_token"/></td>
|
||||
<td>token<input type="checkbox" id="grantTypes_token" name="authorizedGrantTypes" value="token"/></td>
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
<td>authorization_code | code<input <#if model.authorizedGrantTypes?contains('authorization_code') >checked</#if> type="checkbox" id="grantTypes_authorization_code" name="authorizedGrantTypes" value="authorization_code"/></td>
|
||||
<td>password<input <#if model.authorizedGrantTypes?contains('password') >checked</#if> type="checkbox" id="grantTypes_trust" name="authorizedGrantTypes" value="password"/></td>
|
||||
<td>implicit<input <#if model.authorizedGrantTypes?contains('implicit') >checked</#if> type="checkbox" id="grantTypes_implicit" name="authorizedGrantTypes" value="implicit"/></td>
|
||||
<td>client_credentials<input <#if model.authorizedGrantTypes?contains('client_credentials') >checked</#if> type="checkbox" id="grantTypes_client_credentials" name="authorizedGrantTypes" value="client_credentials"/></td>
|
||||
<td>refresh_token<input <#if model.authorizedGrantTypes?contains('refresh_token') >checked</#if> type="checkbox" id="grantTypes_refresh_token" name="authorizedGrantTypes" value="refresh_token"/></td>
|
||||
<td>id_token<input <#if model.authorizedGrantTypes?contains('id_token') >checked</#if> type="checkbox" id="grantTypes_id_token" name="authorizedGrantTypes" value="id_token"/></td>
|
||||
<td>token<input <#if model.authorizedGrantTypes?contains( 'token') >checked</#if> type="checkbox" id="grantTypes_token" name="authorizedGrantTypes" value="token"/></td>
|
||||
|
||||
Reference in New Issue
Block a user