Spring authentication, does it use encrypted cookies?

Does the Spring Framework (or in one of its supported options) use encrypted cookies that store registered userId users in cookies?

This is how ASP.NET authentication works, where it encrypts the value in the cookie, which is usually the user ID or user.

Is this what Spring is doing? (I understand that Spring allows you to choose, but is this the most common approach overall?)

+3
source share
2 answers

I have no source to prove this, but the answer to the question is no.

Spring . cookie - JSESSIONID, / ( , ).

, cookie, .

+3

, , . , , - , ( , , ), , , .

, , "". . FAQ (03/10: ):

, practical cryptanalysis'': the enemy doesn't have to just stare at your ciphertext until he figures out the plaintext. For instance, he might assume cribs '' --- . , , . "" --- , . , , , .

- Java , ​​, . .

-3

Source: https://habr.com/ru/post/1728566/


All Articles