I totally agree with you on this.
I really think that an example application that uses all this
would do the world of good for JBoss.

I'm trying to do something similar. I've got an app using struts
running on JBoss, I asked similar questions on the struts-user list
only yesterday and was given the following link. Haven't read it
yet, but intend to.

http://www.javaworld.com/javaworld/jw-08-2001/jw-0831-jaas.html

----- Original Message -----
From: "Rachel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 05, 2003 10:27 AM
Subject: [JBoss-user] JAAS Authentication with DatabaseServerLoginModule


> Hi
>
> I'm new to JBoss and fairly new to Java and am trying to configure
security
> so that I can secure some forms and information. I'm building an
> application using Struts and deploying onto JBoss3/Tomcat 4.
>
> I'm really not sure what all the component parts of getting this working
> are, so far I have:
> created database tables for users and roles (mysql)
> configured this module in login-config.xml
> added the security domain to jboss-web.xml in my application
> configured web.xml with the url pattern of the files I want to be secure
> I understand I need to create a file login.html with the fields prefixed
> with j_ which I have done, but I don't know how all this fits together.
>
> I restarted JBoss and deployed my application after making the changes and
> nothing errors, I also see "configured an authenticator for method FORM"
as
> the app deploys but I'm not sure how to actually pull all this together as
> I've found bits of information about it from Google searches etc. but not
a
> full explanation.
>
> If anyone has a link to a walkthrough or some examples that would be great
> - or can see some major factor in this I have missed out, I feel like I'm
> not seeing the whole picture here!
>
> Rachel
>
>
>
> -------------------------------------------------------
> 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
>



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