Remove anonymous controller support (#2285)

It's not usable feature, and is error prone - someone could left anonymous enabled by mistake

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-02-17 17:17:49 +02:00
committed by GitHub
parent 59f2eed87b
commit cace8bd20e
9 changed files with 58 additions and 323 deletions

View File

@@ -67,7 +67,6 @@ public class DdiSecurityProperties {
@Data
public static class Authentication {
private final Anonymous anonymous = new Anonymous();
private final Targettoken targettoken = new Targettoken();
private final Gatewaytoken gatewaytoken = new Gatewaytoken();
@@ -105,17 +104,5 @@ public class DdiSecurityProperties {
@ToString.Exclude
private String key = "";
}
/**
* Anonymous authentication.
*/
@Data
public static class Anonymous {
/**
* Set to true to enable anonymous DDI client authentication.
*/
private boolean enabled = false;
}
}
}