Helidon 4

Last reviewed Sep 25, 2026

Export as PDF

Prompt Details

Prompt Composition

2prompts
  1. Java 25113 lines · 2.8K tokens
  2. Helidon 496 lines · 4.9K tokens
Total209 lines · 7.8K tokens

CWE Coverage

  • 20
  • 22
  • 59
  • 78
  • 79
  • 88
  • 89
  • 95
  • 117
  • 190
  • 201
  • 208
  • 209
  • 214
  • 290
  • 294
  • 295
  • 297
  • 306
  • 307
  • 312
  • 315
  • 319
  • 323
  • 327
  • 338
  • 346
  • 347
  • 352
  • 362
  • 367
  • 378
  • 427
  • 470
  • 471
  • 494
  • 502
  • 522
  • 525
  • 532
  • 552
  • 598
  • 601
  • 611
  • 613
  • 614
  • 638
  • 653
  • 681
  • 732
  • 770
  • 772
  • 776
  • 789
  • 807
  • 862
  • 863
  • 915
  • 916
  • 918
  • 922
  • 942
  • 943
  • 1004
  • 1275
  • 1333

Prompt Preview

Apply the Java 25 prompt first. These rules cover Helidon 4 SE and MP on Java 25, including optional modules only when installed, and were checked against 4.5.4. Helidon 4 requires Java 21 or later and recommends Java 25; use its blocking, virtual-thread APIs rather than Helidon 3 reactive examples.

Version and deployment scope

  • Treat 4.5.4 as affected by Oracle's September 2026 advisory, including WebServer, HTTP/2, WebSocket, static content, JSON, MP security, LRA, IDCS role mapping, MongoDB, and Neo4j. Upgrade affected deployments to a vendor-fixed supported release; these configuration controls do not replace those fixes.
  • Align Helidon modules with the io.helidon:helidon-bom release used by the application, and inspect resolved dependencies and service providers. Adding modules can automatically install media, encoding, client, protocol, and observer services; review the resulting exposed behavior.

SE routes and MP authorization

  • Register helidon-webserver-security through SecurityFeature with explicit authentication and authorization providers. Apply security handlers before protected business handlers and cover each method, mounted service, fallback, named socket, and upgrade path.
  • Define every protected path under security.web-server.paths or attach explicit security handlers in code. Configuration under security.web-server.defaults applies only to the listed paths; registering the feature or its defaults alone does not secure all endpoints.
  • Enable authentication as well as authorization where identity is required: SecurityHandler