Skip to content
Ameen Abozaid
Planned lessonJNR-036-L06

Reading Spring Security's debug output

  • Lesson 6 of 8
  • Junior
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

find out why a request was rejected.

Planned topics

  • Set logging.level.org.springframework.security=DEBUG locally only.
  • The log shows which filters ran and which rule matched.
  • Look for "Securing GET /..." and the authorization decision.
  • Never leave debug logging on in production; it can expose request details.
  • Check rule order first when behavior surprises you.
Draft outline details

Demonstration

a short log excerpt with "Securing POST /api/products" followed by "Access Denied".

Check your understanding

Where should debug security logging be enabled?

Show answer

Only in local development.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.