Hi,
I am using jboss-4.0.0RC2. I am trying to use form-based declarative security as described in Head First. My web.xml is:
My jboss-web.xml is:
I have added this to my login-config:
My user.properties has:
and my roles.properties has:
both files being in my classes dir in my war.
I am expecting the server to present me with my login form page when I try to access /sec/showlogs but instead it lets me access that
servlet without any authentication. Does anyone know what I am doing wrong?
Thx,
Matthew<br /> <br />Surrey, England<br /> <br />SCJP, SCBCD<br />Preparing: SCWCD, SCEA<br />My env: JBoss-4.0.0RC2 running on j2sdk1.4.2_06 running on Linux 2.6.11-1.14_FC3 running on Intel Pentium 4E Prescott 3.0GHz FSB800 1MB Cache on a ASUS P4S800 SiS648FX Socket 478 800FSB 3DDR 400 ATA133 motherboard