JAAS

com.sun.security.auth
クラス NTNumericCredential

java.lang.Object
  |
  +--com.sun.security.auth.NTNumericCredential

public class NTNumericCredential
extends Object

NT セキュリティトークンを抽象化し、セキュリティの偽装と同じ処理を行う機構を提供します。


コンストラクタの概要
NTNumericCredential(int token)
          整数値で NTNumericCredential を作成します。
 
メソッドの概要
 boolean equals(Object o)
          指定したオブジェクトと NTNumericCredential とを比較し、同等であるかどうかを調べます。
 int getToken()
          NTNumericCredential の整数表現を返します。
 int hashCode()
          NTNumericCredential のハッシュコードを返します。
 String toString()
          NTNumericCredential の文字列表現を返します。
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

NTNumericCredential

public NTNumericCredential(int token)
整数値で NTNumericCredential を作成します。

パラメータ:
token - ユーザの Windows NT セキュリティトークン

メソッドの詳細

getToken

public int getToken()
NTNumericCredential の整数表現を返します。

戻り値:
NTNumericCredential の整数表現

toString

public String toString()
NTNumericCredential の文字列表現を返します。

オーバーライド:
クラス Object 内の toString
戻り値:
NTNumericCredential の文字列表現

equals

public boolean equals(Object o)
指定したオブジェクトと NTNumericCredential とを比較し、同等であるかどうかを調べます。指定したオブジェクトが NTNumericCredential であり、2 つの NTNumericCredential の表す NT セキュリティトークンが等しい場合は、true を返します。

オーバーライド:
クラス Object 内の equals
パラメータ:
o - NTNumericCredential と比較し、同等であるかどうかを調べるオブジェクト
戻り値:
指定したオブジェクトが NTNumericCredential と等しい場合は true

hashCode

public int hashCode()
NTNumericCredential のハッシュコードを返します。

オーバーライド:
クラス Object 内の hashCode
戻り値:
NTNumericCredential のハッシュコード

JAAS