I am facing a similar problem;
Per the instructions in the
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingCustomPrincpalsWith, I set up the
login module that extends from UsernamePasswordLoginModule, configured it in
the login-config.xml (with the principalClass option set to point to my custom
Ragav: Are you able to get ejbContext.getCallerPrincipal to return your
CustomPrincipal ?
For example:
@Stateless
| public class MyStatelessBean implements IMyStatelessBean
| {
|@Resource
|SessionContext ejbContext;
|
|public void testMethod()
|{
|