Errata: February 22, 2021

Thank you for purchasing Spring Security in Action. Please report errors not listed below in the book's liveBook Errata thread. All formats are corrected during the book's second printing.



In chapter 6, page 146, section 6.3:

Listing 6.12 contains two "return" on line 23. The line "return return UsernamePasswordAuthenticationToken.class" in the listing should become "return UsernamePasswordAuthenticationToken.class"

In chapter 10, page 221, listing 10.4:

The @Configuration annotation is missing over the ProjectConfig class. This should look like the one presented in listing 10.3.

In chapter 11, page 262, section 11.3:

In the first snippet, the last last line, http://localhost:8080/user/auth, should be
http:/./localhost:8080/user/auth
Note the addition of /./.

In chapter 15, page 380, section 15.2.4:

"Here, you obtain a token as we did in section 15.2.3 and use it to call the test endpoint of the resource server:" should be "Here, you obtain a token as we did in section 15.1.2 and use it to call the test endpoint of the resource server"