Skip to content

Commit

Permalink
JavaDoc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
blakemcbride committed Nov 2, 2023
1 parent f92d330 commit 49234dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/core/org/kissweb/RestServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
* (2) Be sure to set the <code>urlPattern</code>.
* <br><br>
* (3) If basic authentication is being used, enable it by setting <code></code> and set the <code>username</code> and <code>password</code>.
* <br><br>
* (4) Since this will be Java code, Kiss will have to be rebuilt.
*/
@WebServlet(urlPatterns="/myservice")
@MultipartConfig
Expand Down
4 changes: 4 additions & 0 deletions src/main/core/org/kissweb/RestServerBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ public abstract class RestServerBase extends HttpServlet {

/**
* Support for Basic Authentication.
* <br><br>
* The way basic authentication works is that the client uses a URL with the following format:<br>
* <code>https://[username]:[password]@[full-URL]</code><br>
* The <code>username</code> and <code>password</code> are validated against what is passed in.
*
* @param request
* @param response
Expand Down

0 comments on commit 49234dc

Please sign in to comment.