From ab6d247ef171b022c21228d547ef56c88d91a7b8 Mon Sep 17 00:00:00 2001 From: suchabar Date: Thu, 3 Sep 2015 20:43:16 +0200 Subject: [PATCH 1/2] Edited Readme file --- examples/basic-auth/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/basic-auth/README.md b/examples/basic-auth/README.md index c79becbd42..35b501f3bd 100644 --- a/examples/basic-auth/README.md +++ b/examples/basic-auth/README.md @@ -21,7 +21,8 @@ Step 2: Deploy and run the example - Open a command window and perform the following command: curl http://admin:password@localhost:8080/basicauth/service/echo?value=hello - + +(If we navigate directly to http://localhost:8080/basicauth/service/echo?value=hello we get "Invalid parameter: redirect_uri" error due to missing Valid Redirect URI in realm) This should result in the value 'hello' being returned as a response. Simply change the username (currently 'admin') or password (currently 'password') in the command to see an "Unauthorized" response. From d0f26ae4cf9f1383c50354eb9680847a61b07602 Mon Sep 17 00:00:00 2001 From: suchabar Date: Thu, 3 Sep 2015 20:46:34 +0200 Subject: [PATCH 2/2] Edited Readme file --- examples/basic-auth/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/basic-auth/README.md b/examples/basic-auth/README.md index 35b501f3bd..d750e460ee 100644 --- a/examples/basic-auth/README.md +++ b/examples/basic-auth/README.md @@ -22,7 +22,8 @@ Step 2: Deploy and run the example curl http://admin:password@localhost:8080/basicauth/service/echo?value=hello -(If we navigate directly to http://localhost:8080/basicauth/service/echo?value=hello we get "Invalid parameter: redirect_uri" error due to missing Valid Redirect URI in realm) +(If we navigate directly to http://localhost:8080/basicauth/service/echo?value=hello, we get "Invalid parameter: redirect_uri" error due to missing Valid Redirect URI in realm). + This should result in the value 'hello' being returned as a response. Simply change the username (currently 'admin') or password (currently 'password') in the command to see an "Unauthorized" response.