Uses of Class com.sun.net.httpserver.Authenticator.Result (Java SE 25 & JDK 25)
Description: use: module: jdk.httpserver, package: com.sun.net.httpserver, class: Authenticator, class: Result

# Uses of Class
com.sun.net.httpserver.Authenticator.Result

Packages that use Authenticator.Result
Package
Description
com.sun.net.httpserver
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.

- ## Uses of Authenticator.Result in com.sun.net.httpserver

  Subclasses of Authenticator.Result in com.sun.net.httpserver
  Modifier and Type
  Class
  Description
  `static class`
  `Authenticator.Failure`
  Indicates an authentication failure.
  `static class`
  `Authenticator.Retry`
  Indicates an authentication must be retried.
  `static class`
  `Authenticator.Success`
  Indicates an authentication has succeeded and the authenticated user principal can be acquired by calling `Authenticator.Success.getPrincipal()`.
  Methods in com.sun.net.httpserver that return Authenticator.Result
  Modifier and Type
  Method
  Description
  `abstract Authenticator.Result`
  Authenticator.`authenticate(HttpExchange exch)`
  Called to authenticate each incoming request.
  `Authenticator.Result`
  BasicAuthenticator.`authenticate(HttpExchange t)`