JAAS

com.sun.security.auth
クラス SolarisNumericUserPrincipal

java.lang.Object
  |
  +--com.sun.security.auth.SolarisNumericUserPrincipal
すべての実装インタフェース:
Principal, Serializable

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

public class SolarisNumericUserPrincipal
extends Object
implements Principal, Serializable

Principal インタフェースを実装し、ユーザの Solaris ユーザ識別番号 (UID) を表します。

NTDomainPrincipal のようなプリンシパルは特定の Subject と関連付けられており、追加された識別情報によって Subject を拡張します。拡張の詳細については、Subject クラスを参照してください。承認の決定は Subject に関連付けられたプリンシパルを基にして行われます。

関連項目:
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

hashCode

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

定義:
インタフェース Principal 内の hashCode
オーバーライド:
クラス Object 内の hashCode
戻り値:
SolarisNumericUserPrincipal のハッシュコード

JAAS