Code Review
/
nonrtric
/
plt
/
ranpm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improve Test coverage of InfluxLogger
[nonrtric/plt/ranpm.git]
/
influxlogger
/
src
/
main
/
java
/
org
/
oran
/
pmlog
/
oauth2
/
SecurityContext.java
diff --git
a/influxlogger/src/main/java/org/oran/pmlog/oauth2/SecurityContext.java
b/influxlogger/src/main/java/org/oran/pmlog/oauth2/SecurityContext.java
index
82d44a7
..
5de4252
100644
(file)
--- a/
influxlogger/src/main/java/org/oran/pmlog/oauth2/SecurityContext.java
+++ b/
influxlogger/src/main/java/org/oran/pmlog/oauth2/SecurityContext.java
@@
-49,10
+49,11
@@
public class SecurityContext {
private static SecurityContext instance;
@Setter
private static SecurityContext instance;
@Setter
+ @Getter
private Path authTokenFilePath;
public SecurityContext(@Value("${app.auth-token-file:}") String authTokenFilename) {
private Path authTokenFilePath;
public SecurityContext(@Value("${app.auth-token-file:}") String authTokenFilename) {
- instance = this;
+ instance = this;
//NOSONAR
if (!authTokenFilename.isEmpty()) {
this.authTokenFilePath = Path.of(authTokenFilename);
}
if (!authTokenFilename.isEmpty()) {
this.authTokenFilePath = Path.of(authTokenFilename);
}