We need to implement a secured web service, without passing credentials in every function call.
We expose the login function via web service.
It's implementation puts Authentication Object into the session
_endPointContext.getHttpSession().setAttribute(Htt pSessionIntegrationFilter.ACEGI_SECURITY_AUTHENTIC ATION_KEY, authResult);
But in subsequent calls to web service we notice that the attribute value is missing from the session .(The key is still there).
During debuging session I noticed that it get removed by the filter.
After expirementing with the filter configuration we have discovered the minimum config that allows to reproduce it
<filter>
<filter-name>Acegi Security System for Spring Auto Integration Filter</filter-name>
<filter-class>net.sf.acegisecurity.ui.AutoIntegrationFilte r</filter-class>
</filter>
<filter-mapping>
<filter-name>Acegi Security System for Spring Auto Integration Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
The question is why is the value removed from the session and how it can be avoided.
Thanks.


