myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Bohmann <>
Subject Proprosal for common fileupload and annotation based secured method binding
Date Wed, 11 Oct 2006 22:54:19 GMT

I have setup two modules for possible inclusion in the common myfaces 
code base.

One module is a FacesContextFactory which replaced the 
multipart-formdata Request with a CommonFileUploadRequest wrapper. You 
don't need to define a ServletFilter. You only need to add the lib in 
your webapplication lib path.
Configuration of CommonFileUpload with env-entries from the web.xml
More integrated error handling in jsf.
Extract the FileUploadRequestWrapper from tobago.
Define a common UIFileInput

The other module is a annotation based secured method binding.
This module provides a ApplicationImplWrapper that add some security 
check to method bindings.

You can find an example in the tobago-example-security module:

Anybody interested comments?

The code is far from perfect but a good starting point.



View raw message