Uses of Class
com.sun.net.httpserver.HttpPrincipal
Package
Description
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
Modifier and TypeMethodDescriptionAuthenticator.Success.getPrincipal()
Returns the authenticated userPrincipal
.abstract HttpPrincipal
HttpExchange.getPrincipal()
If an authenticator is set on theHttpContext
that owns this exchange, then this method will return theHttpPrincipal
that represents the authenticated user for thisHttpExchange
.ModifierConstructorDescriptionCreates aSuccess
instance with givenPrincipal
.