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