You have to create a login module configuration in the conf/login-config.xml descriptor
that includes the ClientLoginModule and then reference that configuration in your
jboss-web.xml descriptor. There is a client-login configuration already in the default
login-config.xml so try that:

<jboss-web>
    <security-domain>java:/jaas/client-login</security-domain>
</jboss-web>

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Ionel Gardais" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 01, 2003 3:44 AM
Subject: Re: [JBoss-user] auth login config file from JSP


> [EMAIL PROTECTED] wrote:
> 
> >As far as I understand matters, one is supposed to use the
> >ClientLoginModule to login at the client side.
> >
> I used to achieve this  by specifying 
> -Djava.security.auth.login.config=file://$JBOSS_HOME/client/auth.conf 
> where the ClientLoginModule is specified by default when I used a 
> standalone app.
> 
> question is : how to do the same (or to get the ClientLoginModule 
> working) when using a servlet ?
> 
> 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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to