Uses of Class
com.sun.net.httpserver.HttpPrincipal
Packages that use 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
Methods in com.sun.net.httpserver that return HttpPrincipalModifier 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
.Constructors in com.sun.net.httpserver with parameters of type HttpPrincipalModifierConstructorDescriptionCreates aSuccess
instance with givenPrincipal
.