Tomcat 6Struts 1.3
OS: MacOS X - Leopard
Hi,
I am trying to make sure my app requires a login. So I configured the
following in my deployment descriptor:
security-constraint
web-resource-collection
web-resource-nameadmin/web-resource-name
url-pattern*.do/url-pattern
Mighty Tornado wrote:
http-methodPOST/http-method
Why do you want to restrict access only to requests with POST method? I
usually do not use http-method element.
form-login-page/WEB-INF/JSP/login.jsp/form-login-page
I'm not sure if login page will work if it is located under
Mighty Tornado wrote:
Tomcat 6Struts 1.3
OS: MacOS X - Leopard
Hi,
I am trying to make sure my app requires a login. So I configured the
url-pattern*.do/url-pattern
url-pattern/*/url-pattern will protect everything.
http-methodPOST/http-method
This only protects the POST method.
From: Mighty Tornado [mailto:mighty.torn...@gmail.com]
Subject: Tomcat Security and Struts
I am trying to make sure my app requires a login. So I configured the
following in my deployment descriptor:
security-constraint
web-resource-collection
web-resource-nameadmin/web-resource
chuck.caldar...@unisys.com wrote:
From: Mighty Tornado [mailto:mighty.torn...@gmail.com]
Subject: Tomcat Security and Struts
I am trying to make sure my app requires a login. So I configured the
following in my deployment descriptor:
security-constraint
web-resource-collection
Mark Thomas wrote:
url-pattern/*/url-pattern will protect everything.
If your login page uses any external assets (images, stylesheets, etc),
it will become corrupted (assets won't load).
--
Mikolaj Rydzewski m...@ceti.pl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mikolaj,
On 4/22/2009 9:58 AM, Mikolaj Rydzewski wrote:
Mighty Tornado wrote:
I'm not sure if login page will work if it is located under WEB-INF
directory.
Of course it will. There's nothing special about the WEB-INF directory
that would prevent
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Subject: Re: Tomcat Security and Struts
Mark Thomas wrote:
url-pattern/*/url-pattern will protect everything.
If your login page uses any external assets (images, stylesheets,
etc), it will become corrupted (assets won't load).
Care
Caldarale, Charles R wrote:
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Subject: Re: Tomcat Security and Struts
Mark Thomas wrote:
url-pattern/*/url-pattern will protect everything.
If your login page uses any external assets (images, stylesheets,
etc), it will become corrupted (assets
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Tomcat Security and Struts
Maybe this : if the login page itself contains a link to a gif located
in the same area, trying to load that gif will also hit the
authentication bit, and trigger another login page, before the first
even
around this?
On Wed, Apr 22, 2009 at 1:05 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Tomcat Security and Struts
Maybe this : if the login page itself contains a link to a gif located
in the same area, trying to load
On Wed, Apr 22, 2009 at 11:16 AM, Mighty Tornado
mighty.torn...@gmail.com wrote:
I think the following might be a problem. When I access the application I
get this error in the browser:Firefox can't establish a connection to the
server at localhost:8443
But Tomcat is supposed to listen on
How can I make the request to port 8443 actually succeed?
On Wed, Apr 22, 2009 at 2:40 PM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
On Wed, Apr 22, 2009 at 11:16 AM, Mighty Tornado
mighty.torn...@gmail.com wrote:
I think the following might be a problem. When I access the
From: Mighty Tornado [mailto:mighty.torn...@gmail.com]
Subject: Re: Tomcat Security and Struts
Firefox can't establish a connection to the
server at localhost:8443
You need to define a secure Connector for port 8443.
But Tomcat is supposed to listen on port 8080
You can't run both HTTP
On Wed, Apr 22, 2009 at 11:43 AM, Mighty Tornado
mighty.torn...@gmail.com wrote:
How can I make the request to port 8443 actually succeed?
Configure an https Connector.
--
Hassan Schroeder hassan.schroe...@gmail.com
Mighty Tornado wrote:
I think the following might be a problem. When I access the application I
get this error in the browser:Firefox can't establish a connection to the
server at localhost:8443
But did you not ask for this ?
transport-guaranteeCONFIDENTIAL/transport-guarantee
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/22/2009 12:37 PM, André Warnier wrote:
Caldarale, Charles R wrote:
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Subject: Re: Tomcat Security and Struts
Mark Thomas wrote:
url-pattern/*/url-pattern will protect everything
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hassan,
On 4/22/2009 2:45 PM, Hassan Schroeder wrote:
On Wed, Apr 22, 2009 at 11:43 AM, Mighty Tornado
mighty.torn...@gmail.com wrote:
How can I make the request to port 8443 actually succeed?
Configure an https Connector.
And correctly set
18 matches
Mail list logo