public interface ClientAuthorizer
Modifier and Type | Method and Description |
---|---|
boolean |
authorize(HttpServer.Request request,
java.lang.String appName)
Indicates whether an HTTP request representing an otherwise
unauthorized connection attempt will be permitted access to
sensitive system resources.
|
boolean authorize(HttpServer.Request request, java.lang.String appName)
appName
parameter by way of additional information about
its identity. However, the value of this name is supplied by the
(potentially malicious) applicant, so cannot in itself be regarded
as an additional security measure.request
- incoming HTTP requestappName
- name by which the application submitting the request
wishes to be known