You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Roberto Bottoni <r....@afterbit.com> on 2024/05/08 18:28:09 UTC
issue with tomcat 10.1.20
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.
Re: issue with tomcat 10.1.20
Posted by Lenny Primak <le...@flowlogix.com>.
Glad to hear it
> On May 8, 2024, at 3:31 PM, Roberto Bottoni <r....@afterbit.com> wrote:
>
> Yes, it works!!!
> thank you very much!!!! :-)))
> R.
>
>
> Il 08-05-2024 22:02 lenny@flowlogix.com ha scritto:
>> Yes. For JSF project this will work perfectly.
>> Please read the section on configuration as well so you will have no
>> surprises:
>> https://shiro.apache.org/jakarta-ee.html
>>> On May 8, 2024, at 2:50 PM, Roberto Bottoni <r....@afterbit.com>
>>> wrote:
>>> 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 lenny@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....@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.
>> --
>> 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.
>
Re: issue with tomcat 10.1.20
Posted by Roberto Bottoni <r....@afterbit.com>.
Yes, it works!!!
thank you very much!!!! :-)))
R.
Il 08-05-2024 22:02 lenny@flowlogix.com ha scritto:
> Yes. For JSF project this will work perfectly.
> Please read the section on configuration as well so you will have no
> surprises:
> https://shiro.apache.org/jakarta-ee.html
>
>> On May 8, 2024, at 2:50 PM, Roberto Bottoni <r....@afterbit.com>
>> wrote:
>>
>> 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 lenny@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....@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.
>
> --
> 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.
Re: issue with tomcat 10.1.20
Posted by le...@flowlogix.com.
Yes. For JSF project this will work perfectly.
Please read the section on configuration as well so you will have no surprises:
https://shiro.apache.org/jakarta-ee.html <https://shiro.apache.org/jakarta-ee.html>
> On May 8, 2024, at 2:50 PM, Roberto Bottoni <r.bottoni@afterbit.com <ma...@afterbit.com>> wrote:
>
> 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 lenny@flowlogix.com <ma...@flowlogix.com> ha scritto:
>> Yes, that’s correct.See https://shiro.apache.org/jakarta-ee.html <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.bottoni@afterbit.com <ma...@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 <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.
>
Re: issue with tomcat 10.1.20
Posted by Roberto Bottoni <r....@afterbit.com>.
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 lenny@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....@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.
Re: issue with tomcat 10.1.20
Posted by le...@flowlogix.com.
Yes, that’s correct.
See https://shiro.apache.org/jakarta-ee.html <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....@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.
>