We have a Spring 4 mvc application running in tomcat with Spring Security implemented. A "mobile" api was developed which provided a no session login for each request.
<http auto-config="false" create-session="never" pattern="/mobile/**" >
<http-basic />
<intercept-url pattern="/mobile/**" access="ROLE_USER" />
</http>
We now want to use session tracking and secure login JSON requests and responses. I see some examples and related issues. Spring Security Token Authentication - RESTful JSON Service
I think these would make a starting point but I do not quite understand about the session token and tracking. Is it necessary to do that type of custom token tracking or can the basic spring session tracking work with the phone requests through cookies, etc.?
Are there any examples of secure login and session tracking for mobile or ios?