JamesBranam's Blog

Wednesday Jun 25, 2008

Securing a Web Application in NetBeans 6.1

Hi all,

Another tutorial is ready for users: Securing a Web Application in NetBeans 6.1. It's a short tutorial in which you configure security authentication using a basic login window and also using a login form in a web page. The tutorial takes you through the steps for creating users on the Tomcat server and GlassFish. After creating the users, you then create the security roles by setting the security properties in the deployment descriptor. You also learn how to use JDBC authentication to secure your application when deploying to GlassFish.

You can find the tutorial at http://www.netbeans.org/kb/60/web/security-webapps.html.

It also works for NetBeans 6.0.

See you tomorrow.

--James

Comments:

Considering how many people on the lists have problems with JDBC realms, I just don't see how realistic this tutorial is.

I also think that it's hard to use this tutorial for anything realistic since it doesn't show how you would register a new user, a very basic task at best, when using a file realm.

Posted by Patrick Julien on June 26, 2008 at 03:41 PM CEST #

Hi james,

I need to create an authetication form like the example in netbeans 6.1 (samples/enterprise/JSFJFA).
But i cant find the way for do that with my project, i need to make this protection for an administrator area in a project that im doing. Can you explain me if exist some project wizard for do that? Please help. Thanxs

Posted by Jorge Ramirez on July 23, 2008 at 06:23 PM CEST #

Hi james,

I need to create an authetication form like the example in netbeans 6.1 (samples/enterprise/JSFJFA).
But i cant find the way for do that with my project, i need to make this protection for an administrator area in a project that im doing. Can you explain me if exist some project wizard for do that? Please help. Thanxs

Posted by Jorge Ramirez on July 23, 2008 at 06:25 PM CEST #

Post a Comment:
Comments are closed for this entry.

Calendar

Feeds

Search

Links

Navigation

Referrers