Appearance
登录超时间调整
java
//修改代码
public class TokenUserIdCacheKeyBuilder implements CacheKeyBuilder {
// 默认8小时
@Override
public Duration getExpire() {
return Duration.ofHours(8L);
}
}
//修改代码
public class TokenUserIdCacheKeyBuilder implements CacheKeyBuilder {
// 默认8小时
@Override
public Duration getExpire() {
return Duration.ofHours(8L);
}
}
yaml
# 修改配置文件
#acuity-oauth-server.yml
acuity:
authentication:
expire: 28800
# 修改配置文件
#acuity-oauth-server.yml
acuity:
authentication:
expire: 28800