|
JAAS | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object com.sun.security.auth.SolarisNumericUserPrincipal
UnixNumericUserPrincipal
に置き換えられます。
このクラスの使用は推奨されていません。
@Deprecated public class SolarisNumericUserPrincipal
Principal
インタフェースを実装し、ユーザーの Solaris ユーザー識別番号 (UID) を表します。
NTDomainPrincipal
のような主体は特定の Subject
と関連付けられており、追加された識別情報によって Subject
を拡張します。拡張については、Subject
クラスを参照してください。承認決定は、Subject
に関連付けられた Principal に基づいて行うことができます。
Principal
,
Subject
,
直列化された形式コンストラクタの概要 | |
---|---|
SolarisNumericUserPrincipal(long name)
推奨されていません。 ユーザーのユーザー識別番号 (UID) の long 表現を使用して SolarisNumericUserPrincipal を作成します。 |
|
SolarisNumericUserPrincipal(String name)
推奨されていません。 ユーザーのユーザー識別番号 (UID) の String 表現を使用して SolarisNumericUserPrincipal を作成します。 |
メソッドの概要 | |
---|---|
boolean |
equals(Object o)
推奨されていません。 指定したオブジェクトと SolarisNumericUserPrincipal を比較し、同等であるかどうかを調べます。 |
String |
getName()
推奨されていません。 SolarisNumericUserPrincipal のユーザー識別番号 (UID) を返します。 |
int |
hashCode()
推奨されていません。 SolarisNumericUserPrincipal のハッシュコードを返します。 |
long |
longValue()
推奨されていません。 SolarisNumericUserPrincipal のユーザー識別番号 (UID) を long 表現で返します。 |
String |
toString()
推奨されていません。 SolarisNumericUserPrincipal の文字列表現を返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public SolarisNumericUserPrincipal(String name)
String
表現を使用して SolarisNumericUserPrincipal
を作成します。
name
- ユーザーのユーザー識別番号 (UID)
NullPointerException
- name
が null
の場合public SolarisNumericUserPrincipal(long name)
SolarisNumericUserPrincipal
を作成します。
name
- long で表されるユーザーのユーザー識別番号 (UID)メソッドの詳細 |
---|
public String getName()
SolarisNumericUserPrincipal
のユーザー識別番号 (UID) を返します。
Principal
内の getName
SolarisNumericUserPrincipal
のユーザー識別番号 (UID)public long longValue()
SolarisNumericUserPrincipal
のユーザー識別番号 (UID) を long 表現で返します。
SolarisNumericUserPrincipal
のユーザー識別番号 (UID) の long 表現public String toString()
SolarisNumericUserPrincipal
の文字列表現を返します。
Principal
内の toString
Object
内の toString
SolarisNumericUserPrincipal
の文字列表現public boolean equals(Object o)
SolarisNumericUserPrincipal
を比較し、同等であるかどうかを調べます。指定したオブジェクトが SolarisNumericUserPrincipal
であり、2 つの SolarisNumericUserPrincipal のユーザー識別番号 (UID) が等しい場合は、true を返します。
Principal
内の equals
Object
内の equals
o
- SolarisNumericUserPrincipal
と比較し、同等であるかどうかを調べるオブジェクト
SolarisNumericUserPrincipal
と等しい場合は trueObject.hashCode()
,
Hashtable
public int hashCode()
SolarisNumericUserPrincipal
のハッシュコードを返します。
Principal
内の hashCode
Object
内の hashCode
SolarisNumericUserPrincipal
のハッシュコードObject.equals(java.lang.Object)
,
Hashtable
|
JAAS | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |