Thanks Brian I'm going to recheck it 

A 28-11-2017 20:31, Brian Demers escrigué:

> Are you sure you are injecting all of your components correctly?  Sounds like 
> that might be the issue 
> 
> On Tue, Nov 28, 2017 at 1:37 PM, Simeó Reig <[email protected]> 
> wrote:
> 
>> Dear alls, 
>> 
>> Is it possible to use a Inject  a DAO reference inside a class extending 
>> AuthorizingRealm ? 
>> 
>> I've followed 
>> https://stackoverflow.com/questions/15605038/unable-to-inject-my-dao-in-a-custom-apache-shiro-authorizingrealm
>>  [1] without success. JPA injection works but SimpleAuthenticationInfo in 
>> doGetAuthenticationInfo method always return ' token 
>> [org.apache.shiro.authc.UsernamePasswordToken - john,rememberMe=false] did 
>> not match the expected credentials" 
>> 
>> Shiro 1.3.2 in a JSF application, shiro works without JPA as expected 
>> 
>> Thanks 
>> 
>> Simeó Reig

 

Links:
------
[1]
https://stackoverflow.com/questions/15605038/unable-to-inject-my-dao-in-a-custom-apache-shiro-authorizingrealm

Reply via email to