public final class IdUtils extends Object
Modifier and Type | Method and Description |
---|---|
static AMIdentity |
getIdentity(SSOToken token) |
static AMIdentity |
getIdentity(SSOToken token,
String univId) |
static String |
getUniversalId(AMIdentity id) |
public static AMIdentity getIdentity(SSOToken token) throws IdRepoException, SSOException
token
- Single sign on token of user.IdRepoException
- if there are repository related error conditions.SSOException
- if user's single sign on token is invalid.public static String getUniversalId(AMIdentity id)
id
- AMIdentity
object whose string represenation is
needed.id
.public static AMIdentity getIdentity(SSOToken token, String univId) throws IdRepoException
token
- SSOToken of the administratorunivId
- String represenation of the identity.IdRepoException
- if the identifier provided is wrong.Copyright © 2010-2020, ForgeRock All Rights Reserved.