| Package | Description | 
|---|---|
| com.sun.net.httpserver | Provides a simple high-level Http server API, which can be used to build
   embedded HTTP servers. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BasicAuthenticatorBasicAuthenticator provides an implementation of HTTP Basic
 authentication. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Authenticator | HttpContext. getAuthenticator()Returns the currently set Authenticator for this context
 if one exists. | 
| abstract Authenticator | HttpContext. setAuthenticator(Authenticator auth)Sets the Authenticator for this HttpContext. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Authenticator | HttpContext. setAuthenticator(Authenticator auth)Sets the Authenticator for this HttpContext. | 
 Copyright © 2005, 2017, Oracle and/or its affiliates.  All rights reserved.