Bump spring-cloud-starter-openfeign to 4.3.1 (#2898)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2026-01-30 16:38:01 +02:00
committed by GitHub
parent a86be566fc
commit 8cac79f860
6 changed files with 31 additions and 39 deletions

View File

@@ -44,7 +44,7 @@ public class AuthenticationSetupHelper {
private static final String AUTHENTICATION_MODE_HEADER_ENABLED = "authentication.header.enabled";
private static final String AUTHENTICATION_MODE_HEADER_AUTHORITY_NAME = "authentication.header.authority";
private static final Random RND = new SecureRandom();
private static final Random SECURE_RND = new SecureRandom();
@NonNull
private final Tenant tenant;
@@ -53,7 +53,7 @@ public class AuthenticationSetupHelper {
public static String randomToken() {
final byte[] rnd = new byte[24];
RND.nextBytes(rnd);
SECURE_RND.nextBytes(rnd);
return Base64.getEncoder().encodeToString(rnd);
}