Re: Web Application Security -- Help needed

2006-09-19 Thread Raja Nagendra Kumar

Hi,

You need to define a secruity constaint similar to the following in web 
application. Once this done, container takes care of the two issues 
transperantly.


Regards,
Raja Nagendra Kumar,
C.T.O,
www.tejasoft.com


session-config
session-timeout10/session-timeout
session-max4096/session-max
/session-config

security-constraint
   web-resource-collection
 web-resource-nameHTMLManger and Manager command/web-resource-name
 url-pattern/jmxproxy/*/url-pattern
   /web-resource-collection
   auth-constraint
  role-namemanager/role-name
   /auth-constraint
 /security-constraint

  login-config
   auth-methodBASIC/auth-method
   realm-nameTomcat Manager Application/realm-name
 /login-config

 security-role
   description
 The role that is required to log in to the Manager Application
   /description
   role-namemanager/role-name
 /security-role
- Original Message - 
From: SrinivasaReddy [EMAIL PROTECTED]

To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, September 19, 2006 9:37 AM
Subject: Web Application Security -- Help needed


HI All..,

I am developing the Application in Struts+Hibernate, it is an Web 
Application.I need to apply the security for this applicaiton like

-- If Session Timeout over that should redirect to Login page
-- After login if we copy the url and open it in new browser, that should 
redirect to login page


Which type of security i need to apply for this...

Here all pages are secure pages only.
we are using the Sturts tiles to develop the application...

Thanks  for any help..


Regards
Srinivasa Reddy 



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



Re: validation - form set

2006-09-19 Thread Raja Nagendra Kumar

As per the dtd, global attributes should come first and formset later..

Move the global tags before formset and this should fix it.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com


- Original Message - 
From: Tom Jerry [EMAIL PROTECTED]

To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, September 19, 2006 12:10 PM
Subject: validation - form set



why do I get this error ?

SEVERE: Parse Error at line 87 column 19: The content of element type
form-validation must match (global*,formset*).
org.xml.sax.SAXParseException: The content of element type 
form-validation

must match (global*,formset*).

form-validation

   formset
   form name=loginForm
   field property=username
  depends=required
  arg key=LoginForm.username/
   /field
   field property=password
  depends=required
  arg key=LoginForm.password/
   /field
   /form
   /formset

  global/global
/form-validation




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