@DeprecatedSE public class UserCredentials extends ObjectSE
| 修飾子と型 | フィールドと説明 |
|---|---|
static UserCredentials | NO_CREDENTIALS 使用すべきではありません。 |
| コンストラクターと説明 |
|---|
UserCredentials(StringSE username, StringSE password) 使用すべきではありません。 指定されたユーザー名とパスワードから新しい UserCredentials インスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | equals(ObjectSE obj) 使用すべきではありません。 |
StringSE | getObfuscatedPassword() 使用すべきではありません。 パスワードを難読化して返します。つまり、最初と最後の文字を除くすべてが星に置き換えられます。 |
StringSE | getPassword() 使用すべきではありません。 認証に使用するパスワードを取得します。 |
StringSE | getUsername() 使用すべきではありません。 認証に使用するユーザー名を取得します。 |
int | hashCode() 使用すべきではありません。 |
boolean | hasPassword() 使用すべきではありません。 資格情報にパスワードが含まれているかどうかを返します。 |
boolean | hasUsername() 使用すべきではありません。 資格情報にユーザー名が含まれているかどうかを返します。 |
StringSE | toString() 使用すべきではありません。 |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic static final UserCredentials NO_CREDENTIALS
public boolean hasUsername()
public boolean hasPassword()
@Nullable public StringSE getObfuscatedPassword()
public StringSE toString()
ObjectSE の toStringSE public int hashCode()
ObjectSE の hashCodeSE Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.