🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Security and JWT: all 10 questions

Quiz: Security and JWT · Question 10 of 10

What does SessionCreationPolicy.STATELESS mean in this API?

What does SessionCreationPolicy.STATELESS mean in this API?

  1. A.Users cannot log in
  2. B.The server never creates an HTTP session; each request is authenticated by its token
  3. C.Tokens never expire
  4. D.Only GET requests are allowed
Answer & explanation

Correct answer: The server never creates an HTTP session; each request is authenticated by its token

Statelessness lets many server instances handle any request.

Can you get the rest right without peeking?

Take the timed Quiz: Security and JWT quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →