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 | Description |
---|---|---|
HttpPrincipal |
Authenticator.Success.getPrincipal()
returns the authenticated user Principal
|
|
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. |
Constructor | Description |
---|---|
Success(HttpPrincipal p) |
Copyright © 2005, 2025, Oracle and/or its affiliates. All rights reserved.