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 HttpPrincipalHttpExchange.getPrincipal()If an authenticator is set on theHttpContextthat owns this exchange, then this method will return theHttpPrincipalthat represents the authenticated user for thisHttpExchange.Constructors in com.sun.net.httpserver with parameters of type HttpPrincipalModifierConstructorDescriptionCreates aSuccessinstance with givenPrincipal.