クラス
com.sun.net.httpserver.Authenticator.Resultの使用
| パッケージ | 説明 |
|---|---|
| com.sun.net.httpserver |
組込みのHTTPサーバーの構築に使用できる、単純で高度なHTTPサーバーAPIを提供します。
|
-
com.sun.net.httpserverでのAuthenticator.Resultの使用
com.sun.net.httpserverでのAuthenticator.Resultのサブクラス 修飾子と型 クラス 説明 static classAuthenticator.Failure認証の失敗を示します。static classAuthenticator.Retry認証を再試行する必要があることを示します。static classAuthenticator.Success認証が成功し、getPrincipal()を呼び出すことによって認証されたユーザー主体を取得できることを示します。Authenticator.Resultを返すcom.sun.net.httpserverのメソッド 修飾子と型 メソッド 説明 abstract Authenticator.ResultAuthenticator. authenticate(HttpExchange exch)各着信要求を認証するために呼び出されます。