Spring Security access to a request, without pre-authentication, from remote access
I wrote here because I cannot find a clear answer to my problem:
My project is using Spring MVC and Spring Security. I well installed both for a web application (of course using Java). I can access with post and get method, but only after the user has been connected via the usual form of Spring Security.
From now, the user do a request on an address like this:
where get.request is a mapping from Spring MVC. This access is enable only after the user has been authenticated!
What I need to do: Add the possibility to access directly to this request, without has been authenticated previously, using an address like this one for example:
Of course the authentication will have to be done previously the request is performed and the result sent back.
same thing with the post protocol and the params given (request=getListCommand, j_password=myPassword, j_username=myName)
I searched on many website or directly on the Spring security website. They talk about filterchaining, own user name authentication, RMI; but I don't really found a full example doing what I presented above.
Thanks for anyone than can help me that way.
ps: I use all default or the most simple configuration for Spring security (no fengshui' style :-))