myfaces-dev mailing list archives

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

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.
TODOs:
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

http://svn.apache.org/repos/asf/myfaces/tobago/trunk/contrib/fileupload




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

http://svn.apache.org/repos/asf/myfaces/tobago/trunk/contrib/security
http://svn.apache.org/repos/asf/myfaces/tobago/trunk/contrib/security/src/main/java/org/apache/myfaces/tobago/security/

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

http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/security/

http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/security/src/main/java/org/apache/myfaces/tobago/example/security/Controller.java



Anybody interested comments?

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

Regards

Bernd

Mime
View raw message