public class FSAccountUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
USER_FED_INFO_ATTR
Attribute name to store Account's federation information.
|
static String |
USER_FED_INFO_KEY_ATTR
Attribute name to store Account's federation information key
|
Constructor and Description |
---|
FSAccountUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
objectToInfoString(FSAccountFedInfo fedInfoObject)
Returns string equalivent of
FSAccountFedInfo object. |
static String |
objectToKeyString(FSAccountFedInfoKey fedInfoKeyObject)
Returns nameSpace and name of account federation information key.
|
static FSAccountFedInfo |
stringToObject(String fedInfoString)
Parses federation information string and put corresponding parts in
object fields.
|
public static final String USER_FED_INFO_KEY_ATTR
public static final String USER_FED_INFO_ATTR
public static FSAccountFedInfo stringToObject(String fedInfoString) throws FSAccountMgmtException
fedInfoString
- - String containg federation information.FSAccountMgmtException
- if fedInfoString
cannot be
parsed.public static String objectToInfoString(FSAccountFedInfo fedInfoObject) throws FSAccountMgmtException
FSAccountFedInfo
object.fedInfoObject
- federation info as an object.FSAccountMgmtException
- if fedInfoObject
cannot
be converted to string.public static String objectToKeyString(FSAccountFedInfoKey fedInfoKeyObject) throws FSAccountMgmtException
fedInfoKeyObject
- Account federation information key.FSAccountMgmtException
- if the namespace and/or name
in the fedInfoKeyObject are null.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.