[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    Re: [JBoss-user] auth login config file from JSP
From:       "Scott M Stark" <scottmstark () attbi ! com>
Date:       2003-03-31 16:28:42
[Download RAW message or body]

You need to specify the security domain name in the war WEB-INF/jboss-web.xml
descriptor. 

<jboss-web>
    <security-domain>java:/jaas/xyz</security-domain>
</jboss-web>

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Ionel Gardais" <ionel.gardais@geomath.fr>
To: <jboss-user@lists.sourceforge.net>
Sent: Monday, March 31, 2003 6:46 AM
Subject: [JBoss-user] auth login config file from JSP


> Hi,
> 
> I have ran a standalone app that access to EJBs in JBoss that are 
> secured by a securityDomain.
> The command line shows 
> -Djava.security.auth.login.config=$JBOSS_HOME/client/auth.conf, 
> everything works fine.
> 
> I am now trying to make JSP accessing the same EJBs.
> 
> Although my security domain is up and using a DatabaseServerLoginModule, 
> I get an IOException on the server side telling me that the JSP's login 
> helper class is using the UsersRolesLoginModule.
> 
> 
> How to specify to the class that creates the loginContext and logs into 
> JBoss to use the auth.conf file which might help in using the 
> DatabaseServerLoginModule instead of the UsersRolesLoginModule ?
> 
> I'm using JBoss3.2.0RC2/tomcat.4.1.18, both EJBs and .war files are 
> deployed under ${JBOSS_HOME}/server/default/deploy
> 
> 
> thanks for your help,
> ionel
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> JBoss-user mailing list
> JBoss-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic