fixed instalation
This commit is contained in:
parent
e59c4a950c
commit
510e4b14fe
@ -43,7 +43,7 @@ public class DefaultJwtSettingsService implements JwtSettingsService {
|
|||||||
private final Optional<TbClusterService> tbClusterService;
|
private final Optional<TbClusterService> tbClusterService;
|
||||||
private final JwtSettingsValidator jwtSettingsValidator;
|
private final JwtSettingsValidator jwtSettingsValidator;
|
||||||
@Lazy
|
@Lazy
|
||||||
private final JwtTokenFactory jwtTokenFactory;
|
private final Optional<JwtTokenFactory> jwtTokenFactory;
|
||||||
|
|
||||||
private volatile JwtSettings jwtSettings = null; //lazy init
|
private volatile JwtSettings jwtSettings = null; //lazy init
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ public class DefaultJwtSettingsService implements JwtSettingsService {
|
|||||||
public JwtSettings reloadJwtSettings() {
|
public JwtSettings reloadJwtSettings() {
|
||||||
log.trace("Executing reloadJwtSettings");
|
log.trace("Executing reloadJwtSettings");
|
||||||
var settings = getJwtSettings(true);
|
var settings = getJwtSettings(true);
|
||||||
jwtTokenFactory.reload();
|
jwtTokenFactory.ifPresent(JwtTokenFactory::reload);
|
||||||
return settings;
|
return settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user