From: Scott M S. <Sco...@di...> - 2001-07-07 06:43:43
|
Use the 2.2.2 JBoss/Tomcat bundle with the integrated security and go through the security tutorial: http://www.jboss.org/documentation/HTML/ch11s84.html ----- Original Message ----- From: "Ivan Novick" <iv...@ab...> To: <jbo...@li...> Sent: Friday, July 06, 2001 10:40 PM Subject: [JBoss-user] JBossSx -- Authentication Exception > Hi, > > I am using the org.jboss.security.auth.spi.UsersRolesLoginModule > > There is a servlet trying to access a Session Bean. A message in JBoss > window says: "user 'bond' authenticated." > Then the Home Interface is found with no errors. > > However on the line where the session bean is created, an exception is > thrown that says: "Authentication Exception, principal=null" > > It seems that altough the login was successfull with a user name the > princpal is still being registered as null and the attempt to create a > session bean is rejected. > > Does anyone have an insight into why the prinicipal is showing up as null, > or as to why exception is thrown even though the login appears to be > successful. Any thoughts are greatly appreciated, > > Ivan > |