public class DiscoEntryHandlerImplUtils extends Object
Constructor and Description |
---|
DiscoEntryHandlerImplUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
getGlobalDiscoEntries(AMIdentity amIdentity,
String attrName,
Map discoEntries,
String userID)
This is used by the global disocvery service handler to retrieve
the resource offerings registered at the realm, org, role etc.
|
static Map |
getQueryResults(Map discoEntries,
List reqServiceTypes) |
static boolean |
getUserDiscoEntries(DataStoreProvider store,
String userID,
String attrName,
Map discoEntries) |
static Map |
handleInserts(Set discoEntries,
List inserts) |
static boolean |
handleRemoves(Map discoEntriesMap,
List removes) |
static boolean |
setGlobalDiscoEntries(AMIdentity amIdentity,
String attrName,
Collection entries)
Registers the discovery service resource offerings to the AMIdentity
This is used by the global disocvery service handler to register
the resource offerings to the realm, org, role etc.
|
static boolean |
setUserDiscoEntries(DataStoreProvider store,
String userID,
String attrName,
Collection entries) |
protected static Debug debug
public static boolean getUserDiscoEntries(DataStoreProvider store, String userID, String attrName, Map discoEntries) throws Exception
Exception
public static boolean setUserDiscoEntries(DataStoreProvider store, String userID, String attrName, Collection entries)
public static void getGlobalDiscoEntries(AMIdentity amIdentity, String attrName, Map discoEntries, String userID) throws Exception
Exception
public static boolean setGlobalDiscoEntries(AMIdentity amIdentity, String attrName, Collection entries)
amIdentity
- the idrepo object that the resource offerings are
being set.attrName
- the discovery service attribute name where the disco
entries are being stored.entries
- the list of discovery services that needs to be set.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.