SpringSource/spring-flex — pull request #1 by rokumar (2011-10-27 14:55:45+00:00)
Title: Fix for FLEX-212: Spring Security integration does not work with Data Services NIO endpoints

FLEX-212: Spring Security integration does not work with Data Services NIO endpoints
It turns out due a change made for FLEX-185, the Security Login Command was changed so that the FlexContext.getHttpRequest() was being used used to set the source on the UserPasswordAuthenticationToken, which results in a silent error when passed a null value or a shell HttpRequest object (as is the case for NIO based endpoints). By ensuring that the code is enclosed in a try/catch block, this can be silently ignored if it happens. When we locally tested the fix, everything works.