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!Code:../../get.request?request=getListCommand
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:
orCode:http://123.123.123.123:123/get.request?request=getListCommand&j_password=myPassword&j_username=myName
Of course the authentication will have to be done previously the request is performed and the result sent back.Code: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 :-))


Reply With Quote
