[jboss-user] [Security JAAS/JBoss] - Re: Tomcat 5.5 login module compatibility?

2008-03-05 Thread rsanka
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

[jboss-user] [Security JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-03-05 Thread rsanka
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() |{ |