<security-role> Just sets up a role, and may not even be required.  

Please post the relevant sections from your web.xml, and your login
page.

Also, are you trying to go directly to j_security_check, or are you
trying to access a protected location, and then the login page comes up?
You want the latter.

|)ave

-----Original Message-----
From: J Malcolm [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 4:07 PM
To: 'Tomcat Users List'
Subject: RE: Setting up to use j_security_check??

Hmmm, I have the first two, but not the security-role.  Not sure why
that
wasn't in this particular webapp.  It's been working w/ basic auth,
though.
Is that the magic key that's missing in form auth?  Is that a tag that's
only required with form auth and not required for basic auth?  I'll add
it
and try again.  

Thanks.

Jerry

-----Original Message-----
From: David Owens [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 4:06 PM
To: Tomcat Users List
Subject: RE: Setting up to use j_security_check??

Have you defined the following in your web.xml?

<security-constraint>
<login-config>
<security-role>


|)ave

-----Original Message-----
From: J Malcolm [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 3:03 PM
To: 'Tomcat Users List'
Subject: Setting up to use j_security_check??

I'm attempting to move from basic authentication to form-based.  Got
everything configured and the forms created, etc.  The login form comes
up
as expected.  But when I submit, it says it can't find url
j_security_check.

Am I supposed to do something to configure/enable that url in tomcat?
I've
seen docs that say to use action="j_security_check" and some that say to
include a slash: action=/j_security_check.  But neither works for me.

What am I missing?

Thx

Jerry 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to