geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stig Even Larsen <s...@nimra.no>
Subject Re: request.isUserInRole("some-role") always return false after @EJB injection
Date Mon, 16 Jun 2008 11:57:54 GMT
I forgot to tell that I'm using Geronimo 2.0.2 on Debian Etch.

Regards,
Stig Even Larsen




Stig Even Larsen wrote:
> Hi,
> 
> After logging in via the j_security_check form I use the simplest of jsp 
>  page for testing purpose. I've defined several roles and am able to 
> check this via request.isUserInRole("some-role"). Everything is working 
> as expected.
> 
> When I throw in a EJB via @EJB annotation or via JNDI lookup 
> request.isUserInRole("some-role") is now always returning false.
> 
> Is this a bug or I'm I missing something here?
> 

Mime
View raw message