Class DiscoEntryHandlerImplUtils
- java.lang.Object
-
- com.sun.identity.liberty.ws.disco.plugins.DiscoEntryHandlerImplUtils
-
public class DiscoEntryHandlerImplUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description DiscoEntryHandlerImplUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidgetGlobalDiscoEntries(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 MapgetQueryResults(Map discoEntries, List reqServiceTypes)static booleangetUserDiscoEntries(DataStoreProvider store, String userID, String attrName, Map discoEntries)static MaphandleInserts(Set discoEntries, List inserts)static booleanhandleRemoves(Map discoEntriesMap, List removes)static booleansetGlobalDiscoEntries(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 booleansetUserDiscoEntries(DataStoreProvider store, String userID, String attrName, Collection entries)
-
-
-
Field Detail
-
debug
protected static Debug debug
-
-
Method Detail
-
getUserDiscoEntries
public static boolean getUserDiscoEntries(DataStoreProvider store, String userID, String attrName, Map discoEntries) throws Exception
- Throws:
Exception
-
setUserDiscoEntries
public static boolean setUserDiscoEntries(DataStoreProvider store, String userID, String attrName, Collection entries)
-
getGlobalDiscoEntries
public static void getGlobalDiscoEntries(AMIdentity amIdentity, String attrName, Map discoEntries, String userID) throws Exception
This is used by the global disocvery service handler to retrieve the resource offerings registered at the realm, org, role etc.- Throws:
Exception
-
setGlobalDiscoEntries
public 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.- Parameters:
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.- Returns:
- true if successfully set the entries.
-
-