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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to