Difference between revisions of "Struts"

From OWASP
Jump to: navigation, search
(Architecture)
(Validation)
Line 16: Line 16:
  
 
===Validation===
 
===Validation===
 +
* Integration with commons validator
  
 
==Configuration==
 
==Configuration==

Revision as of 00:32, 31 May 2007

Contents

Status

Content to be finalised. First draft

Author

Eelco Klaver

Introduction

This article describes the web security implications for the Struts MVC framework, how Struts helps in securing your web applications and where special attention is needed. It will not describe the internal details of Struts.

Architecture

The framework provides its own web Controller component. This Controller acts as a bridge between the application's Model and the web View. When a request is received, the Controller invokes an Action class. The Action class interacts with the Model to examine or update the application's state. The framework provides an ActionForm class to help transfer data between Model and View.

Components

Action

  • No distinction is made between HTTP GET and POST method. Both methods are mapped to the same Action execute method.

ActionForm

Validation

  • Integration with commons validator

Configuration

Roles