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.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 and Description |
---|---|
abstract Authenticator.Result |
Authenticator.authenticate(HttpExchange exch)
called to authenticate each incoming request.
|
Authenticator.Result |
BasicAuthenticator.authenticate(HttpExchange t) |
Copyright © 2005, 2015, Oracle and/or its affiliates. All rights reserved.