com.sun.identity.wss.security
クラス SecurityPrincipal

java.lang.Object
  上位を拡張 com.sun.identity.wss.security.SecurityPrincipal

public class SecurityPrincipal
extends Object

This class SecurityPrincipal exposes the authenticated principal via the message level security. It implements Principal and Serializable interfaces.

関連項目:
直列化された形式

コンストラクタの概要
SecurityPrincipal(String name)
          Constructs SecurityPrincipal object.
 
メソッドの概要
 boolean equals(Object o)
          Compares with given object.
 String getName()
          Returns the name of the principal.
 String toString()
          Converts to string.
 

コンストラクタの詳細

SecurityPrincipal

public SecurityPrincipal(String name)
Constructs SecurityPrincipal object.

パラメータ:
name - the name of the principal
メソッドの詳細

equals

public boolean equals(Object o)
Compares with given object.

オーバーライド:
クラス Object 内の equals
パラメータ:
o - the given object
戻り値:
false if the given object is not equal to this principal.

getName

public String getName()
Returns the name of the principal.

戻り値:
the name of the principal.

toString

public String toString()
Converts to string.

オーバーライド:
クラス Object 内の toString
戻り値:
String the principal name string.