JAAS

com.sun.security.auth
クラス SolarisNumericUserPrincipal

java.lang.Object
  上位を拡張 com.sun.security.auth.SolarisNumericUserPrincipal
すべての実装されたインタフェース:
Serializable, Principal

推奨されていません。 JDK 1.4 では、UnixNumericUserPrincipal に置き換えられます。 このクラスの使用は推奨されていません。

@Deprecated
public class SolarisNumericUserPrincipal
extends Object
implements Principal, Serializable

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
 

コンストラクタの詳細

SolarisNumericUserPrincipal

public SolarisNumericUserPrincipal(String name)
推奨されていません。 
ユーザーのユーザー識別番号 (UID) の String 表現を使用して SolarisNumericUserPrincipal を作成します。

パラメータ:
name - ユーザーのユーザー識別番号 (UID)
例外:
NullPointerException - namenull の場合

SolarisNumericUserPrincipal

public SolarisNumericUserPrincipal(long name)
推奨されていません。 
ユーザーのユーザー識別番号 (UID) の long 表現を使用して SolarisNumericUserPrincipal を作成します。

パラメータ:
name - long で表されるユーザーのユーザー識別番号 (UID)
メソッドの詳細

getName

public String getName()
推奨されていません。 
SolarisNumericUserPrincipal のユーザー識別番号 (UID) を返します。

定義:
インタフェース Principal 内の getName
戻り値:
SolarisNumericUserPrincipal のユーザー識別番号 (UID)

longValue

public long longValue()
推奨されていません。 
SolarisNumericUserPrincipal のユーザー識別番号 (UID) を long 表現で返します。

戻り値:
SolarisNumericUserPrincipal のユーザー識別番号 (UID) の long 表現

toString

public String toString()
推奨されていません。 
SolarisNumericUserPrincipal の文字列表現を返します。

定義:
インタフェース Principal 内の toString
オーバーライド:
クラス Object 内の toString
戻り値:
SolarisNumericUserPrincipal の文字列表現

equals

public boolean equals(Object o)
推奨されていません。 
指定したオブジェクトと SolarisNumericUserPrincipal を比較し、同等であるかどうかを調べます。指定したオブジェクトが SolarisNumericUserPrincipal であり、2 つの SolarisNumericUserPrincipal のユーザー識別番号 (UID) が等しい場合は、true を返します。

定義:
インタフェース Principal 内の equals
オーバーライド:
クラス Object 内の equals
パラメータ:
o - SolarisNumericUserPrincipal と比較し、同等であるかどうかを調べるオブジェクト
戻り値:
指定したオブジェクトが SolarisNumericUserPrincipal と等しい場合は true
関連項目:
Object.hashCode(), Hashtable

hashCode

public int hashCode()
推奨されていません。 
SolarisNumericUserPrincipal のハッシュコードを返します。

定義:
インタフェース Principal 内の hashCode
オーバーライド:
クラス Object 内の hashCode
戻り値:
SolarisNumericUserPrincipal のハッシュコード
関連項目:
Object.equals(java.lang.Object), Hashtable

JAAS