[JBoss-user] [Security & JAAS/JBoss] - getUserPrincipal() returns null after successful JAAS Login

2005-10-22 Thread ethomas.joseph
Hi All, This subject has been raised in the past many times. I have gone through almost all, but none could solve my problem. Also to mention that, those discussions were on earlier versions of JBoss. I am using JBoss v 4.0.2,.I have implemented form-based authentication, in which the form submit

[JBoss-user] [Security & JAAS/JBoss] - Knowing Realm (JAAS) at runtime

2005-10-21 Thread ethomas.joseph
Greetings, Is there anyway to know at runtime the JAAS Security Realm under which my application is running. This Realm is the "application polity name" in login-config.xml. Actually I dont want to hard code the realm to the LoginContext: ... | LoginContext ctxt = new LoginContext("myRealm",

[JBoss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: InteresesBean not bo

2005-09-30 Thread ethomas.joseph
You must b using default configuration for JBoss. That is by default not fully J2EE compliant. To make it fully J2EE compliant, make some changes as in whatsnew.pdf for JBoss 4.0.2 avalilable in JBoss site. Then make changes given there. Ur application must work fine!! Regards Thomas Joseph

[JBoss-user] [Beginners Corner] - Must See: good for any problem!!

2005-09-26 Thread ethomas.joseph
I am a newbie to JBoss, I had problems doing work with JBoss v 4.0.2. I have watched many of the forum pages to find problem with JBoss v 4.0.2. That may be because most of us use default configuration to deploy our applications. However the default config is not fully J2EE complient. This is tr

[JBoss-user] [Beginners Corner] - Re: Problem Servlet Communicating with Session Bean in JBoss

2005-09-26 Thread ethomas.joseph
I have finally got the solution to my problem. Actually the problem is not with my application config uration or programming. Infact, JBoss 4.0.x comes with the 'default' configuration that is not fully J2EE Compatible (in order to make it efficient). Some changes have to be made for the default

[JBoss-user] [Beginners Corner] - Re: Problem Servlet Communicating with Session Bean in JBoss

2005-09-25 Thread ethomas.joseph
Thanks, but my method isn't abstract. My Home Interface: package tutorial.interfaces; | | public interface FiboHome extends javax.ejb.EJBHome | { | public tutorial.interfaces.Fibo create() |throws javax.ejb.CreateException,java.rmi.RemoteException; | } Here is my Remote

[JBoss-user] [Beginners Corner] - Problem Servlet Communicating with Session Bean in JBoss (ne

2005-09-24 Thread ethomas.joseph
Hi, I am new to JBoss. I am quite conversant with using Sun's RI for J2EE 1.4. I have a small application in which a Servlet calles a session bean. I done packaged it for JBoss and verified it with Sun's Deploy tool to be OK (Even deployed the ear to Sun RI Server to be working fine). However I