Mercurial Hosting > luan
comparison src/goodjava/webserver/handlers/BasicAuthHandler.java @ 1609:268b2a26e8d7
minor - cors
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 May 2021 11:42:03 -0600 |
parents | f7e3adae4907 |
children | 557bb90b70d7 |
comparison
equal
deleted
inserted
replaced
1608:f7e3adae4907 | 1609:268b2a26e8d7 |
---|---|
5 import goodjava.webserver.Request; | 5 import goodjava.webserver.Request; |
6 import goodjava.webserver.Response; | 6 import goodjava.webserver.Response; |
7 import goodjava.webserver.Status; | 7 import goodjava.webserver.Status; |
8 | 8 |
9 | 9 |
10 public class BasicAuthHandler implements Handler { | 10 public final class BasicAuthHandler implements Handler { |
11 private final Handler handler; | 11 private final Handler handler; |
12 private final String realm; | 12 private final String realm; |
13 private final String match; | 13 private final String match; |
14 | 14 |
15 public BasicAuthHandler(Handler handler,String realm,String username,String password) { | 15 public BasicAuthHandler(Handler handler,String realm,String username,String password) { |