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