Hi
i have an application which is ajax heavy...
actually all the interaction with the server done via json messages, from spring mvc @Controller web layer
the question is :
how to make spring security communicate with my front end via json? instead of http redirect
for example, in the default case... when spring security think that this user need authentication.. it redirect him to a login page
how to make it send a json message to the web page to let the page fire a custom login dialog
the same for authorization... in any error , a redirect happen... how to recieve this as a message
OR where to plug the code to captute these events to send these messages
thanks
Joe


Reply With Quote
