| 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 | 
|---|---|
| static class  | Authenticator.FailureIndicates an authentication failure. | 
| static class  | Authenticator.RetryIndicates an authentication must be retried. | 
| static class  | Authenticator.SuccessIndicates an authentication has succeeded and the
 authenticated user principal can be acquired by calling
 getPrincipal(). | 
| Modifier and Type | Method and Description | 
|---|---|
| Authenticator.Result | BasicAuthenticator. authenticate(HttpExchange t) | 
| abstract Authenticator.Result | Authenticator. authenticate(HttpExchange exch)called to authenticate each incoming request. | 
 Copyright © 2005, 2017, Oracle and/or its affiliates.  All rights reserved.