Hi, I've come from a Sybase EA Server background where I was able to code a custom module to authenticate the user connection. I'd like to be able to do the same with JBoss which I'm piloting at present. The authentication involves calling an EJB from the custom module. We're using Tomcat outside of the container with JBoss 2.4.1, and an Apache web server at the front end.
To get JAAS to work do I need to have Tomcat running within JBoss? If I do this, can I still use Apache at the front end? My assumptions come from the need to use the LoginContext and I can't see how I can get this to work outside of the JBoss wrapper. The bare minumum requirement I have at present is to enable the use of getCallerPrincipal() from with EJBs to obtain the user name. We we were using this within EA Server without the need for a JAAS login prior to obtaining the InitialContext within the clients. I've tried to implement the various Login Modules within the JBossSX but with little success - presumably due to the lack of LoginContext. Is there a way to by pass this at all? Any help will be really appreciated. Confused Alistair _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
