geronimo-user mailing list archives

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

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?

Stig Even Larsen

View raw message