public class IDFFMetaCache extends Object
Modifier and Type | Method and Description |
---|---|
static void |
clearCache()
Clears the Entity Descriptor and Entity Config cache.
|
static String |
getEntityByMetaAlias(String metaAlias)
Returns Entity ID containing IDP or SP with the meta alias.
|
static String |
getEntityBySuccinctID(String succinctId)
Returns entity ID containing the IDP with the succinct ID.
|
static com.sun.identity.federation.jaxb.entityconfig.EntityConfigElement |
getEntityConfig(String realm,
String entityID)
Returns the Entity Config under the realm from the cache.
|
static com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorElement |
getEntityDescriptor(String realm,
String entityID)
Returns the Entity Descriptor representing the standard metadata under
the realm from cache.
|
static String |
getRoleByMetaAlias(String metaAlias)
Returns provider role corresponding to the meta alias.
|
static void |
setEntityConfig(String realm,
String entityID,
com.sun.identity.federation.jaxb.entityconfig.EntityConfigElement entityConfig)
Updates the the Entity Configuration Cache with Entity Config.
|
static void |
setEntityDescriptor(String realm,
String entityID,
com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorElement entityDescriptor)
Updates the Entity Descriptor cache with the Entity Descriptor.
|
static void |
setEntitySuccinctIDMapping(String succinctId,
String entityId)
Updates the Entity ID containing the IDP with the succinct ID.
|
static void |
setMetaAliasEntityMapping(String metaAlias,
String entityID)
Updates Entity ID containing IDP or SP with the meta alias.
|
static void |
setMetaAliasRoleMapping(String metaAlias,
String role)
Updates provider role corresponding to the meta alias.
|
public static com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorElement getEntityDescriptor(String realm, String entityID)
realm
- The realm under which the entity resides.entityID
- the entity descriptor identifier.EntityDescriptorElement
for the entity or null
if not found.public static void setEntityDescriptor(String realm, String entityID, com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorElement entityDescriptor)
realm
- The realm under which the entity resides.entityID
- entity descriptor identifier.entityDescriptor
- EntityDescriptorElement
of
the entity.public static com.sun.identity.federation.jaxb.entityconfig.EntityConfigElement getEntityConfig(String realm, String entityID)
realm
- The realm under which the entity resides.entityID
- the entity config identifier.EntityConfigElement
object for the entity or null
if not found.public static void setEntityConfig(String realm, String entityID, com.sun.identity.federation.jaxb.entityconfig.EntityConfigElement entityConfig)
realm
- The realm under which the entity resides.entityID
- ID of the entity to be retrieved.entityConfig
- Entity Configuration Object.public static String getEntityByMetaAlias(String metaAlias)
metaAlias
- Meta Alias of the provider to be retrieved.public static void setMetaAliasEntityMapping(String metaAlias, String entityID)
metaAlias
- Meta Alias of the provider to be set.entityID
- Entity ID corresponding to provider with the Meta Alias.public static String getRoleByMetaAlias(String metaAlias)
metaAlias
- Meta Alias of the provider to be retrieved.public static void setMetaAliasRoleMapping(String metaAlias, String role)
metaAlias
- Meta Alias of the provider to be set.role
- Role of the provider with the meta alias.public static String getEntityBySuccinctID(String succinctId)
succinctId
- Succinct ID of the IDP.public static void setEntitySuccinctIDMapping(String succinctId, String entityId)
succinctId
- Succinct ID of the IDP to be updated.entityId
- Entity ID containing the IDP with the succinct ID.public static void clearCache()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.