public class NameIDInfoKey extends Object
NameIDInfoKey
represents the user account
federation information key: sun-fm-saml2-nameid-info-key.
This multiple-valued attribute is used for searching purpose, in case
of ldap datastore, an equality index need to be created for this
attribute for better search performance.
Value format for this attribute:
Constructor and Description |
---|
NameIDInfoKey(String nameIDValue,
String hostEntityID,
String remoteEntityID)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getHostEntityID()
Returns the
EntityID of the hosted provider. |
String |
getNameIDValue()
Returns the
NameID value. |
String |
getRemoteEntityID()
Returns the
EntityID of the remote provider. |
static NameIDInfoKey |
parse(String infoKey)
Returns the
NameIDInfoKey by parsing the string value. |
String |
toValueString()
Returns the account federation information key value string that is
stored in the repository.
|
public NameIDInfoKey(String nameIDValue, String hostEntityID, String remoteEntityID) throws SAML2Exception
nameIDValue
- randomly generated name identifier value.hostEntityID
- EntityID
of the hosted provider.remoteEntityID
- EntityID
of the remote provider.SAML2Exception
- if any of the parameter values are null.public String getNameIDValue()
NameID
value.NameID
.public String getHostEntityID()
EntityID
of the hosted provider.EntityID
of the hosted provider.public String getRemoteEntityID()
EntityID
of the remote provider.EntityID
of the remote provider.public String toValueString()
NameIDInfoKey
that is
stored in the repository.public static NameIDInfoKey parse(String infoKey) throws SAML2Exception
NameIDInfoKey
by parsing the string value.NameIDInfoKey
SAML2Exception
- if the parsing fails.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.