パッケージ | 説明 |
---|---|
jakarta.security.enterprise | メイン Jakarta Security パッケージ。 |
jakarta.security.enterprise.authentication.mechanism.http | HTTP 認証メカニズム API パッケージ。 |
修飾子と型 | メソッドと説明 |
---|---|
AuthenticationStatus | SecurityContext.authenticate(HttpServletRequest request, HttpServletResponse response, AuthenticationParameters parameters) 呼び出し元との Web/HTTP ベースの認証ダイアログを開始または続行する必要があることをコンテナーに通知します(プログラムでトリガーします)。 |
static AuthenticationStatus | AuthenticationStatus.valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static AuthenticationStatus[] | AuthenticationStatus.values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
修飾子と型 | メソッドと説明 |
---|---|
AuthenticationStatus | HttpMessageContextWrapper.doNothing() |
AuthenticationStatus | HttpMessageContext.doNothing() コンテナーに「何もしない」ように指示します。 |
AuthenticationStatus | HttpMessageContextWrapper.forward(StringSE path) |
AuthenticationStatus | HttpMessageContext.forward(StringSE path) サーバー上の別のリソース(Jakarta Servlet、Jakarta Server Pages ファイル、または HTML ファイル)に転送します。 |
AuthenticationStatus | HttpMessageContextWrapper.notifyContainerAboutLogin(CredentialValidationResult result) |
AuthenticationStatus | HttpMessageContext.notifyContainerAboutLogin(CredentialValidationResult result) ID ストアの CredentialValidationResult 結果をコンテナーに直接渡すことを目的とした便利なメソッド。 |
AuthenticationStatus | HttpMessageContextWrapper.notifyContainerAboutLogin(PrincipalSE principal, SetSE<StringSE> roles) |
AuthenticationStatus | HttpMessageContext.notifyContainerAboutLogin(PrincipalSE principal, SetSE<StringSE> groups) SecurityContext.isCallerInRole(String) などで使用するためにアプリケーションで使用できるようにするために、指定された呼び出し元のプリンシパルとグループを登録するようにコンテナーに要求します。 |
AuthenticationStatus | HttpMessageContextWrapper.notifyContainerAboutLogin(StringSE username, SetSE<StringSE> roles) |
AuthenticationStatus | HttpMessageContext.notifyContainerAboutLogin(StringSE callername, SetSE<StringSE> groups) SecurityContext.isCallerInRole(String) などで使用するためにアプリケーションで使用できるようにするために、指定された呼び出し元の名前とグループを登録するようにコンテナーに要求します。 |
AuthenticationStatus | HttpMessageContextWrapper.redirect(StringSE location) |
AuthenticationStatus | HttpMessageContext.redirect(StringSE location) レスポンスステータスを SC_FOUND302 に設定します (検出) |
AuthenticationStatus | HttpMessageContextWrapper.responseNotFound() |
AuthenticationStatus | HttpMessageContext.responseNotFound() レスポンスステータスを 404(見つかりません)に設定します。 |
AuthenticationStatus | HttpMessageContextWrapper.responseUnauthorized() |
AuthenticationStatus | HttpMessageContext.responseUnauthorized() レスポンスステータスを 401(未承認)に設定します。 |
default AuthenticationStatus | HttpAuthenticationMechanism.secureResponse(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) オプションで、レスポンスを保護します。 |
AuthenticationStatus | HttpAuthenticationMechanism.validateRequest(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) HTTP リクエストを認証します。 |
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.