Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

186
Vistas
Implementing Authentication using JSessionId

Is it secure to authenticate a user using the JSessionId that the client passes to the server ?

Assume that in a Spring app, we store the jsession id for a user that provided correct credentials while logging in, in a database and we authenticate each subsequent request based on that jsession id.

Does this method provide the same security level of using Java Web Tokens ?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

JWT tokens are cryptographically signed so they are much more difficult to forge compared to session IDs.

Session IDs are generated using a secure random number generator which may be predicable depending on the implementation.

https://news.netcraft.com/archives/2003/01/01/security_advisory_2001011_predictable_session_ids.html

Some more information on why JWT is preferable over session IDs may be found here:

https://stormpath.com/blog/beginners-guide-jwts-in-java

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda