From cf4f549b06273c03fe2a89e56bdcfe68c2db33c9 Mon Sep 17 00:00:00 2001 From: lecaros Date: Mon, 16 Sep 2013 21:10:51 -0400 Subject: [PATCH] change credentials order in authentication manager example username/password pairs were incorrect. The authentication manager has "user" and "password", so those credentials should be allowed to get the actual message. --- spring-boot-actuator/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-actuator/README.md b/spring-boot-actuator/README.md index d9a14bb0b365..1de003b0b6e4 100644 --- a/spring-boot-actuator/README.md +++ b/spring-boot-actuator/README.md @@ -304,9 +304,9 @@ an `AuthenticationManager`, e.g. in your `SampleController`: Try it out: - $ curl user:password@localhost:8080/ - {"status": 403, "error": "Forbidden", "message": "Access Denied"} $ curl client:secret@localhost:8080/ + {"status": 403, "error": "Forbidden", "message": "Access Denied"} + $ curl user:password@localhost:8080/ {"message": "Hello World"} ## Adding a database