aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorDaniel <djr2468@gmail.com>2023-04-05 20:40:09 +0100
committerDaniel <djr2468@gmail.com>2023-04-05 20:40:09 +0100
commit5ba5cc8291d0bd5d497563ddebf08dfc6d239ee9 (patch)
tree559cc6fd40871614c0118bcda8fe2bbd08e3b4a7 /src/main/java/org/traccar/config
parentc56b136a328bc1781ccc74aa27fdecf4a17b9595 (diff)
downloadtrackermap-server-5ba5cc8291d0bd5d497563ddebf08dfc6d239ee9.tar.gz
trackermap-server-5ba5cc8291d0bd5d497563ddebf08dfc6d239ee9.tar.bz2
trackermap-server-5ba5cc8291d0bd5d497563ddebf08dfc6d239ee9.zip
Review changes
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 363d4a472..6c46ef390 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -623,7 +623,7 @@ public final class Keys {
* This is a unique ID assigned to each application you register with your identity provider.
* Required to enable SSO.
*/
- public static final ConfigKey<String> OPENID_CLIENTID = new StringConfigKey(
+ public static final ConfigKey<String> OPENID_CLIENT_ID = new StringConfigKey(
"openid.clientId",
List.of(KeyType.CONFIG));
@@ -632,7 +632,7 @@ public final class Keys {
* This is a secret assigned to each application you register with your identity provider.
* Required to enable SSO.
*/
- public static final ConfigKey<String> OPENID_CLIENTSECRET = new StringConfigKey(
+ public static final ConfigKey<String> OPENID_CLIENT_SECRET = new StringConfigKey(
"openid.clientSecret",
List.of(KeyType.CONFIG));
@@ -641,7 +641,7 @@ public final class Keys {
* This is used to automatically configure the authorization, token and user info URLs if
* they are not provided.
*/
- public static final ConfigKey<String> OPENID_ISSUERURL = new StringConfigKey(
+ public static final ConfigKey<String> OPENID_ISSUER_URL = new StringConfigKey(
"openid.issuerUrl",
List.of(KeyType.CONFIG));
@@ -651,7 +651,7 @@ public final class Keys {
* configuration endpoint, eg. https://auth.example.com//.well-known/openid-configuration
* Required to enable SSO if openid.issuerUrl is not set.
*/
- public static final ConfigKey<String> OPENID_AUTHURL = new StringConfigKey(
+ public static final ConfigKey<String> OPENID_AUTH_URL = new StringConfigKey(
"openid.authUrl",
List.of(KeyType.CONFIG));
/**
@@ -659,7 +659,7 @@ public final class Keys {
* This can be found in the same ways at openid.authUrl.
* Required to enable SSO if openid.issuerUrl is not set.
*/
- public static final ConfigKey<String> OPENID_TOKENURL = new StringConfigKey(
+ public static final ConfigKey<String> OPENID_TOKEN_URL = new StringConfigKey(
"openid.tokenUrl",
List.of(KeyType.CONFIG));
@@ -668,7 +668,7 @@ public final class Keys {
* This can be found in the same ways at openid.authUrl.
* Required to enable SSO if openid.issuerUrl is not set.
*/
- public static final ConfigKey<String> OPENID_USERINFOURL = new StringConfigKey(
+ public static final ConfigKey<String> OPENID_USERINFO_URL = new StringConfigKey(
"openid.userInfoUrl",
List.of(KeyType.CONFIG));
@@ -677,7 +677,7 @@ public final class Keys {
* If this is not provided, all OpenID users will have access to Traccar.
* This option will only work if your OpenID provider supports the groups scope.
*/
- public static final ConfigKey<String> OPENID_ALLOWGROUP = new StringConfigKey(
+ public static final ConfigKey<String> OPENID_ALLOW_GROUP = new StringConfigKey(
"openid.allowGroup",
List.of(KeyType.CONFIG));
@@ -686,7 +686,7 @@ public final class Keys {
* If this is not provided, no groups will be granted admin access.
* This option will only work if your OpenID provider supports the groups scope.
*/
- public static final ConfigKey<String> OPENID_ADMINGROUP = new StringConfigKey(
+ public static final ConfigKey<String> OPENID_ADMIN_GROUP = new StringConfigKey(
"openid.adminGroup",
List.of(KeyType.CONFIG));