Skip to content

Commit 24710a8

Browse files
committed
Correct some details in the use of the -validation-server-auth flag
1 parent 63e4cd7 commit 24710a8

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

src/main/resources/help.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,16 @@ Flags:
4747
-validation-server=<BASE_URL> -- Run HTTP requests against the detected endpoints relative to the
4848
given BASE_URL; ie http://localhost:8080/mywebapp
4949

50-
-validation-server-auth=<CREDS> -- Use the given HTTP headers when validating endpoints against
51-
a test server. Takes the format: "HEADER=VALUE;HEADER=VALUE;..."
52-
Must be used with the -validation-server flag; otherwise, has
50+
-validation-server-auth=<CREDS> -- Use the given form data values to authenticate when validating endpoints against
51+
a test server. Takes the format:
52+
53+
"AUTH-ENDPOINT;HEADER=VALUE;HEADER=VALUE;..."
54+
55+
ie:
56+
57+
"/login;username=user;password=pass"
58+
59+
The "/login" endpoint is queried with "username=user&password=pass" as form
60+
data. Any "Set-Cookie" headers in the response are used in later requests
61+
during testing. Must be used with the -validation-server flag; otherwise, has
5362
no effect.

0 commit comments

Comments
 (0)