Re: Web Security Tutorial Update

Dan Kolar <[email protected]> Wed, 23 Aug 2006 16:52:49 +0200
Newsgroups gmane.comp.java.netbeans.webteam
Message-ID <[email protected]>
kenneth ganfield wrote:
> Hi Dan,
> I am sorry but i am still unable to get this tutorial to work.
> There must be some missing steps, and I also think that some are out 
> of order.
> Eg, If i follow the instructions, when i open sun-web.xml, there are 
> no nodes under the file.
Try this:
1) Create New Web Project on Glassfish, JavaEE5
2) Open web.xml and select Security view
3) Open sun-web.xml, double click on Sun Web Application node, no 
subnodes yet
4) In web.xml Add some Role
5) Switch to sun-web.xml and voila, theres new subnode with name of new role

This 100% works, I'll demonstrate it tomorrow.

> Also, i thought the realm had to be specified in web.xml.
>
In which step?
> I think the best is for us to sit down and we go through the tutorial 
> together.
> Do you have time tomorrow to do that?
>
I do, specify some time.

Dan
> thanks
> ken