Класс Authenticator.Success
- java.lang.Object
-
- com.sun.net.httpserver.Authenticator.Result
-
- com.sun.net.httpserver.Authenticator.Success
- Вложенный класс:
- Authenticator
public static class Authenticator.Success extends Authenticator.Result
Указывает, что аутентификация прошла успешно, и аутентифицированный пользовательский субъект может быть получен вызовом getPrincipal().
Конструкторы
| Конструктор | Описание |
|---|---|
Success(HttpPrincipal p) |
Методы
| Модификатор и тип | Метод | Описание |
|---|---|---|
HttpPrincipal |
getPrincipal() |
возвращает аутентифицированный пользовательский субъект |
Методы, объявленные в классе java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Конструкторы
Success
public Success(HttpPrincipal p)
Методы
getPrincipal
public HttpPrincipal getPrincipal()
возвращает аутентифицированный пользовательский субъект
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.httpserver/com/sun/net/httpserver/Authenticator.Success.html