Wolfgang Knauf [
http://community.jboss.org/people/WolfgangKnauf] created the discussion
"Re: Can't get SessionContext.isCallerInRole(...) to work from remote
call."
To view the discussion, visit:
http://community.jboss.org/message/603636#603636
--------------------------------------------------------------
Hi Krister,
two things that come into my mind:
a) does your EJB have any "secured" method?
@RolesAllowed(value={"administrator"} )
public void myMethod()
{
}
Maybe you have to add such a security declaration to "checkRole". Otherwise
JBoss might think that you are accessing unsecured content and is not performing login.
b) did you activate logging of the security layer? See
http://community.jboss.org/docs/DOC-12198 http://community.jboss.org/wiki/SecurityFAQ -
question 4. If there is some config error, this might help.
The rest of your config looks OK.
Best regards
Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/603636#603636]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]