Skip to content

Commit

Permalink
enh(jakarta-ee): fixed LATEST versions with a macro and/or comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lprimak committed Jan 23, 2024
1 parent a33a924 commit 6b24326
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/site/content/jakarta-ee.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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]
----
Expand Down Expand Up @@ -69,19 +69,20 @@ Use the Shiro artifacts with Jakarta classifiers:
<dependency>
<groupId>org.omnifaces</groupId>
<artifactId>omnifaces</artifactId>
<!-- replace LATEST with a version number -->
<version>LATEST</version>
</dependency>
----

Import the Shiro BOM as seen below (replace LATEST with the version number):
Import the Shiro BOM as seen below:
[source,xml]
----
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-bom</artifactId>
<version>LATEST</version>
<version>${versions.latestAlphaRelease}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down

0 comments on commit 6b24326

Please sign in to comment.