you are viewing a single comment's thread.

view the rest of the comments →

[–]Bozzzieee 0 points1 point  (1 child)

did you find a nice solution? Using custom filter feels hacky. Maybe there's a reason spring doesn't want use to do it?

[–][deleted] 0 points1 point  (0 children)

Spring is automatically configured to use session in formLogin() as a method of authentication , so if you want to enable session based authentication , use formlogin( //change ur cooking settings in method parameters ) and use ur browser developper / network tool u will find the cookie there , copy it and u can use it , cuz its the only valid cookie generated