パッケージ jcifs.smb
列挙型 NtlmPasswordAuthenticator.AuthenticationType
- java.lang.Object
-
- java.lang.Enum<NtlmPasswordAuthenticator.AuthenticationType>
-
- jcifs.smb.NtlmPasswordAuthenticator.AuthenticationType
-
- すべての実装されたインタフェース:
Serializable,Comparable<NtlmPasswordAuthenticator.AuthenticationType>
- 含まれているクラス:
- NtlmPasswordAuthenticator
public static enum NtlmPasswordAuthenticator.AuthenticationType extends Enum<NtlmPasswordAuthenticator.AuthenticationType>
Authentication strategy
-
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static NtlmPasswordAuthenticator.AuthenticationTypevalueOf(String name)指定した名前を持つこの型の列挙型定数を返します。static NtlmPasswordAuthenticator.AuthenticationType[]values()この列挙型の定数を含む配列を宣言されている順序で返します。
-
-
-
列挙型定数の詳細
-
NULL
public static final NtlmPasswordAuthenticator.AuthenticationType NULL
Null/anonymous authentication Login with no credentials
-
GUEST
public static final NtlmPasswordAuthenticator.AuthenticationType GUEST
Guest authentication Allows login with invalid credentials (username and/or password) Fallback to anonymous authentication is permitted
-
USER
public static final NtlmPasswordAuthenticator.AuthenticationType USER
Regular user authentication
-
-
メソッドの詳細
-
values
public static NtlmPasswordAuthenticator.AuthenticationType[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために 使用できます:for (NtlmPasswordAuthenticator.AuthenticationType c : NtlmPasswordAuthenticator.AuthenticationType.values()) System.out.println(c);
- 戻り値:
- この列挙型の定数を含む、宣言されている順序での配列
-
valueOf
public static NtlmPasswordAuthenticator.AuthenticationType valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)- パラメータ:
name- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException- この列挙型に、指定した名前の定数がない場合NullPointerException- 引数がnullの場合
-
-