com.sun.identity.idm
クラス IdUtils

java.lang.Object
  上位を拡張 com.sun.identity.idm.IdUtils

public final class IdUtils
extends Object

The class defines some static utilities used by other components like policy and auth


メソッドの概要
static AMIdentity getIdentity(SSOToken token)
           
static AMIdentity getIdentity(SSOToken token, String univId)
           
static String getUniversalId(AMIdentity id)
           
 

メソッドの詳細

getIdentity

public static AMIdentity getIdentity(SSOToken token)
                              throws IdRepoException,
                                     SSOException
パラメータ:
token - Single sign on token of user.
戻り値:
Identity object.
例外:
IdRepoException - if there are repository related error conditions.
SSOException - if user's single sign on token is invalid.

getUniversalId

public static String getUniversalId(AMIdentity id)
パラメータ:
id - AMIdentity object whose string represenation is needed.
戻り値:
universal identifier of id.

getIdentity

public static AMIdentity getIdentity(SSOToken token,
                                     String univId)
                              throws IdRepoException
パラメータ:
token - SSOToken of the administrator
univId - String represenation of the identity.
戻り値:
Identity object
例外:
IdRepoException - if the identifier provided is wrong.