| 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 | Method and Description |
|---|---|
abstract HttpPrincipal |
HttpExchange.getPrincipal()
If an authenticator is set on the HttpContext that owns this exchange,
then this method will return the
HttpPrincipal that represents
the authenticated user for this HttpExchange. |
HttpPrincipal |
Authenticator.Success.getPrincipal()
returns the authenticated user Principal
|
| Constructor and Description |
|---|
Success(HttpPrincipal p) |
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved.