public class AuthenticationParameters extends ObjectSE
コンストラクターと説明 |
---|
AuthenticationParameters() |
修飾子と型 | メソッドと説明 |
---|---|
AuthenticationParameters | credential(Credential credential) これらの AuthenticationParameters が渡される認証呼び出しに応答する認証メカニズムによって使用される資格情報を設定します。 |
Credential | getCredential() このインスタンスでパラメーターとして設定された資格情報。 |
boolean | isNewAuthentication() 新しい認証ダイアログが必要かどうか。 |
boolean | isRememberMe() 「私を覚えている」を使うべきかどうか。 |
AuthenticationParameters | newAuthentication(boolean newAuthentication) これらの AuthenticationParameters が渡される認証呼び出しに応答する認証メカニズムに、潜在的に存在するダイアログを続行するのではなく、明示的な新しい認証ダイアログが必要であることを通知します。 |
AuthenticationParameters | rememberMe(boolean rememberMe) この認証メカニズムへの呼び出しに "remember me" を適用する必要があることを示すシグナル、"remember me" 機能が認証呼び出しに応答する認証メカニズム用に構成されている場合。 |
void | setCredential(Credential credential) このインスタンスの資格情報をパラメーターとして設定します。 |
void | setNewAuthentication(boolean newAuthentication) 新しい認証ダイアログが必要かどうかを設定します。 |
void | setRememberMe(boolean rememberMe) "remember me" を使用するかどうかを設定します。 |
static AuthenticationParameters | withParams() パラメーターの Fluent/Builder スタイルの作成に役立つ AuthenticationParameters の新しいインスタンスを作成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static AuthenticationParameters withParams()
public AuthenticationParameters credential(Credential credential)
credential
- 認証メカニズムによって使用される資格情報 public AuthenticationParameters newAuthentication(boolean newAuthentication)
newAuthentication
- 新しい認証ダイアログを開始する必要があるかどうか。public AuthenticationParameters rememberMe(boolean rememberMe)
"remember me" が構成されていない場合、このパラメーターは通知なく無視されます。
rememberMe
- true
の場合、認証が成功し、そのように構成されている場合、「記憶」機能が使用されます。RememberMe
, RememberMeIdentityStore
public Credential getCredential()
credential(Credential)
public void setCredential(Credential credential)
credential
- このインスタンスでパラメーターとして設定される資格情報。credential(Credential)
public boolean isNewAuthentication()
newAuthentication(boolean)
public void setNewAuthentication(boolean newAuthentication)
newAuthentication
- 新しい認証ダイアログが必要かどうか newAuthentication(boolean)
public boolean isRememberMe()
rememberMe(boolean)
public void setRememberMe(boolean rememberMe)
rememberMe
- "remember me" を使用するかどうか。rememberMe(boolean)
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.