From 6b243261bb2c2d8131328575389e75a5dc674d17 Mon Sep 17 00:00:00 2001 From: lprimak Date: Tue, 23 Jan 2024 16:10:59 -0600 Subject: [PATCH] enh(jakarta-ee): fixed LATEST versions with a macro and/or comments --- src/site/content/jakarta-ee.adoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/site/content/jakarta-ee.adoc b/src/site/content/jakarta-ee.adoc index fff333ddb..8d3923c07 100644 --- a/src/site/content/jakarta-ee.adoc +++ b/src/site/content/jakarta-ee.adoc @@ -25,7 +25,7 @@ Jakarta EE module depends on CDI and Jax-RS submodules to fully integrate with t == Features * Configure Shiro automatically with sensible defaults for Jakarta EE, with minimal, or no configuration aside from shiro.ini. -* Use shiro.ini as usual to secure web application, Jax-RS paths and endpoints. +* Use shiro.ini as usual to secure web applications, Jax-RS paths and endpoints. * Forms are automatically saved if sessions expire and seamlessly submitted upon subsequent login. * Use Shiro-secured application behind a load balancer or an SSL-terminating proxy (haproxy, nginx, etc.) easily. * Use `@Named` CDI beans in shiro.ini. @@ -38,7 +38,7 @@ Jakarta EE module depends on CDI and Jax-RS submodules to fully integrate with t === Jakarta EE Security Annotations (JSR-250) In addition to all Shiro annotations, Jakarta EE module allows to specify Jakarta EE security annotations such as `@RolesAllowed`, `@DenyAll` and `@PermitAll` on your beans -=== How to use Jakarta 9+ (jakarta.* namespace) - replace LATEST with the version number +=== How to use Jakarta 9+ (jakarta.* namespace) Use the Shiro artifacts with Jakarta classifiers: [source,xml] ---- @@ -69,11 +69,12 @@ Use the Shiro artifacts with Jakarta classifiers: org.omnifaces omnifaces + LATEST ---- -Import the Shiro BOM as seen below (replace LATEST with the version number): +Import the Shiro BOM as seen below: [source,xml] ---- @@ -81,7 +82,7 @@ Import the Shiro BOM as seen below (replace LATEST with the version number): org.apache.shiro shiro-bom - LATEST + ${versions.latestAlphaRelease} import pom