|
Java HTTP Server | ||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HttpPrincipal | |
---|---|
com.sun.net.httpserver | Provides a simple high-level Http server API, which can be used to build embedded HTTP servers. |
Uses of HttpPrincipal in com.sun.net.httpserver |
---|
Methods in com.sun.net.httpserver that return HttpPrincipal | |
---|---|
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 |
Constructors in com.sun.net.httpserver with parameters of type HttpPrincipal | |
---|---|
Authenticator.Success(HttpPrincipal p)
|
|
Java HTTP Server | ||||||||
PREV NEXT | FRAMES NO FRAMES |