geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stig Even Larsen <s...@nimra.no>
Subject request.isUserInRole("some-role") always return false after @EJB injection
Date Mon, 16 Jun 2008 11:52:53 GMT
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?

-- 
Regards,
Stig Even Larsen


Mime
View raw message