[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

[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] - 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