AppFuse 1.9.3 Released
This release is primarily a bug fix release, but also contains upgrades to several dependent libraries, including Acegi Security 1.0.1.
To install and configure AppFuse for development, see the QuickStart Guide. Thanks to all the sponsors who have contributed products and free hosting to the project.
To see how AppFuse works, please see the following demos (username: mraible, password: tomcat):
- Struts + Spring + Hibernate
- Spring + iBATIS
- WebWork + Spring + Hibernate
- JSF + Spring + Hibernate
- Tapestry + Spring + Hibernate
Comments and issues can be sent to the mailing list or posted to JIRA.
Note: If you're building AppFuse on Linux, you should be aware of some non-English encoding issues. The solution is to add the following to your ~/.bashrc file.
export LC_CENGINE=en_US export LANG=en_US export LANGUAGE=en_US
Thanks for this new release. But i think that there are some problems with acegi 1.0.1. To reproduce it 1- change the session timout to 1 minute in web.xml.
2- Login to appfuse
3- Do nothing for 1 minute.
4- After the session has been invalidated (by tomcat itself due to timeout) access some page which needs authentication.
5- The login page again appears. Do not log into the application. A session is created by tomcat ( after all the login page default is to cretae session as you have specified nothing there). In that created session acegi set null authentication and not anonymous (which i think it should have done). Now dont login and when this session is invalidated bu tomcat there comes a NullPointerException in UserCounterListener in the method attributeRemoved at following line.
That is because your condition is true aka if (event.getName().equals(EVENT_KEY) && !isAnonymous()) because user stuff is null so isAnonymous returns false and ! of it becomes true and its get into the code nad when getting principal it throws exception.
So what i guess is that acegi is not stuffing anonymous user in session though i have specified it there (actually i am running appfuse 1.9.3 as it is :)
Please look into this behavior.
Posted by Shoaib Akhtar on July 12, 2006 at 01:19 PM MDT #
Posted by Matt Raible on July 12, 2006 at 01:41 PM MDT #
Posted by Ignacio Coloma on July 13, 2006 at 12:50 PM MDT #
Posted by Shoaib Akhtar on July 14, 2006 at 04:58 AM MDT #
Posted by Shoaib Akhtar on July 14, 2006 at 05:12 AM MDT #
Posted by Matt Raible on July 14, 2006 at 01:19 PM MDT #
Posted by Shoaib Akhtar on July 14, 2006 at 03:03 PM MDT #
Posted by Sara on July 20, 2006 at 06:51 AM MDT #
Posted by Sara on July 20, 2006 at 07:30 AM MDT #
Posted by Omar on July 20, 2006 at 09:57 AM MDT #
Omar - can you include the steps you went through in your e-mail so we can try to reproduce? Thanks.
Posted by Matt Raible on July 20, 2006 at 12:49 PM MDT #
Hi Sara, I know this is 5 years late but hopefully it will help others still using AppFuse 1.9.3 and Axis(webservices). In 'build.xml' append the following line inside the target block(for generate-wsdd) just before the closing target tag:
N.B: This copies 'server-config.wsdd' from the build/WEB-INF directory of your app to ${tomcat.home}/${webapp.name}/WEB-INF' directory and overwrites the file(note the overwrite attribute used in the copy tag) which is pretty much what we'd expect from 'ant generate-wsdd' to do.
Posted by Craig Wenzil Andrew on December 12, 2011 at 05:12 PM MST #