public class GlobalDiscoEntryHandler extends Object implements DiscoEntryHandler
NEW_ENTRY_IDS, STATUS_CODE
Constructor and Description |
---|
GlobalDiscoEntryHandler()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
Map |
getDiscoEntries(String userID,
List reqServiceTypes)
Returns DiscoEntries for a user under userEntry.
|
Map |
modifyDiscoEntries(String userID,
List removes,
List inserts)
Modify DiscoEntries for the default organization.
|
public Map getDiscoEntries(String userID, List reqServiceTypes)
getDiscoEntries
in interface DiscoEntryHandler
userID
- The user whose DiscoEntries will be returned.reqServiceTypes
- List of
com.sun.identity.liberty.ws.disco.jaxb.RequestedServiceType
objects from discovery Query.public Map modifyDiscoEntries(String userID, List removes, List inserts)
modifyDiscoEntries
in interface DiscoEntryHandler
userID
- This is not used in this implementation.removes
- List of
com.sun.identity.liberty.ws.disco.jaxb.RemoveEntryType jaxb
objects.inserts
- List of
com.sun.identity.liberty.ws.disco.jaxb.InsertEntryType jaxb
objects.DiscoEntryHandler.STATUS_CODE
Value: status code String such as "OK", "Failed", etc.
Key: DiscoEntryHandler.NEW_ENTRY_IDS
Value: List of entryIds for the entries that were added.
The second key/value pair will only exist when status code is
"OK", and there are InsertEntry elements in the Modify request.
When successful, all modification (removes and inserts) should
be done. No partial changes should be done.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.