ok, so, to use shiro and run my project, i have to put in my pom.xml
just this :
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-jakarta-ee</artifactId>
<classifier>jakarta</classifier>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-cdi</artifactId>
<classifier>jakarta</classifier>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<classifier>jakarta</classifier>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<classifier>jakarta</classifier>
</dependency>
<dependency>
<groupId>org.omnifaces</groupId>
<artifactId>omnifaces</artifactId>
<!-- replace LATEST with a version number -->
<version>LATEST</version>
</dependency>
and import the Shiro BOM :
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-bom</artifactId>
<version>2.0.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
correct?
R.
Il 08-05-2024 20:50 le...@flowlogix.com ha scritto:
Yes, that’s correct.See https://shiro.apache.org/jakarta-ee.html
Pay special attention to the BOM section as things won’t work
without that.
On May 8, 2024, at 1:28 PM, Roberto Bottoni <r.bott...@afterbit.com>
wrote:
Hello,
i would like to integrate apache shiro into my JSF Project :
this is the problem :
https://stackoverflow.com/questions/78449680/apache-shiro-integration-in-jsf-3-0
is it a matter of jakarta?..
thanks!
Roberto.
--
Questo messaggio è stato analizzato con Libraesva ESG ed è
risultato non infetto.
This message has been checked by Libraesva ESG and is believed to be
clean.