public class SMSJAXRPCObject extends SMSObject implements SMSObjectListener
Modifier and Type | Field and Description |
---|---|
static String |
AMJAXRPCVERSION
JAXRPC Version String.
|
static String |
AMJAXRPCVERSIONSTR
JAXRPC Version String variable name.
|
protected static boolean |
isLocal |
static String |
NOTIFICATION_PROPERTY |
ADD, DELETE, MODIFY
Constructor and Description |
---|
SMSJAXRPCObject() |
Modifier and Type | Method and Description |
---|---|
void |
allObjectsChanged()
This callback notifies the listener that all object should be marked as
"changed" or "dirty".
|
void |
create(SSOToken token,
String objName,
Map attributes)
Creates an entry in the persistent store.
|
void |
delete(SSOToken token,
String objName)
Delete the entry in the datastore.
|
boolean |
entryExists(SSOToken token,
String dn)
Checks if the provided DN exists.
|
String |
getAMSdkBaseDN()
Returns the root suffix (i.e., base DN) for the UMS objects.
|
String |
getRootSuffix()
Returns the root suffix (i.e., base DN) for the SMS objects.
|
String |
getSessionRootSuffix()
Returns the session root suffix (i.e., base DN) for the SMS objects.
|
void |
modify(SSOToken token,
String objName,
ModificationItem[] mods)
Modifies the attributes to the object.
|
void |
objectChanged(String dn,
int type)
This callback method is called by the EventService when the Directory
Server triggers a PersistentSearch notification
|
Map<String,Set<String>> |
read(SSOToken token,
String objName)
Reads in the object from persistent store.
|
void |
registerCallbackHandler(SMSObjectListener changeListener)
Registration for event change notifications.
|
Set<String> |
schemaSubEntries(SSOToken token,
String dn,
String filter,
String sidFilter,
int numOfEntries,
boolean sortResults,
boolean ascendingOrder)
Returns the sub-entries.
|
Set<String> |
search(SSOToken token,
String startDN,
String filter,
int numOfEntries,
int timeLimit,
boolean sortResults,
boolean ascendingOrder)
Searchs the data store for objects that match the filter
|
Iterator<SMSDataEntry> |
search(SSOToken token,
String startDN,
String filter,
int numOfEntries,
int timeLimit,
boolean sortResults,
boolean ascendingOrder,
Set excludes)
Searches the data store for objects that match the filter
|
Set<String> |
searchOrganizationNames(SSOToken token,
String dn,
int numOfEntries,
boolean sortResults,
boolean ascendingOrder,
String serviceName,
String attrName,
Set values)
Returns the organization names.
|
Set<String> |
searchSubOrgNames(SSOToken token,
String dn,
String filter,
int numOfEntries,
boolean sortResults,
boolean ascendingOrder,
boolean recursive)
Returns the suborganization names.
|
Set<String> |
subEntries(SSOToken token,
String dn,
String filter,
int numOfEntries,
boolean sortResults,
boolean ascendingOrder)
Returns the sub-entries.
|
boolean |
validateServiceAttributes(SSOToken token,
String validatorClass,
Set values)
Validates service configuration attributes.
|
cacheResults, debug, deregisterCallbackHandler, getAttributeNames, getNamingAttribute, getOrgNamingAttribute, getSearchFilter, getServiceIdSearchFilter, initialize, shutdown
public static final String AMJAXRPCVERSIONSTR
public static final String AMJAXRPCVERSION
public static final String NOTIFICATION_PROPERTY
protected static boolean isLocal
public Map<String,Set<String>> read(SSOToken token, String objName) throws SMSException, SSOException
null
read
in class SMSObject
SMSException
SSOException
public void create(SSOToken token, String objName, Map attributes) throws SMSException, SSOException
create
in class SMSObject
SMSException
SSOException
public void modify(SSOToken token, String objName, ModificationItem[] mods) throws SMSException, SSOException
modify
in class SMSObject
SMSException
SSOException
public void delete(SSOToken token, String objName) throws SMSException, SSOException
delete
in class SMSObject
SMSException
SSOException
public Set<String> searchSubOrgNames(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive) throws SMSException, SSOException
numOfEntries
identifies the number of entries to return, if 0
returns
all the entries.searchSubOrgNames
in class SMSObject
SMSException
SSOException
public Set<String> searchOrganizationNames(SSOToken token, String dn, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values) throws SMSException, SSOException
numOfEntries
identifies the number of entries to return, if 0
returns
all the entries.searchOrganizationNames
in class SMSObject
SMSException
SSOException
public Set<String> subEntries(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder) throws SMSException, SSOException
numOfEntries
identifies the
number of entries to return, if 0
returns all the entries.subEntries
in class SMSObject
SMSException
SSOException
public Set<String> schemaSubEntries(SSOToken token, String dn, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ascendingOrder) throws SMSException, SSOException
numOfEntries
identifies the
number of entries to return, if 0
returns all the entries.schemaSubEntries
in class SMSObject
SMSException
SSOException
public Iterator<SMSDataEntry> search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set excludes) throws SMSException, SSOException
search
in class SMSObject
SMSException
SSOException
public Set<String> search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder) throws SMSException, SSOException
search
in class SMSObject
SMSException
SSOException
public boolean entryExists(SSOToken token, String dn)
entryExists
in class SMSObject
public String getRootSuffix()
getRootSuffix
in class SMSObject
public String getSessionRootSuffix()
public String getAMSdkBaseDN()
getAMSdkBaseDN
in class SMSObject
public boolean validateServiceAttributes(SSOToken token, String validatorClass, Set values) throws SMSException, SSOException
token
- Single Sign On token.validatorClass
- validator class name.values
- Values to be validated.true
of values are valid.SSOException
- if single sign on token is in valid.SMSException
- if value is invalid.public void registerCallbackHandler(SMSObjectListener changeListener) throws SMSException
registerCallbackHandler
in class SMSObject
SMSException
public void objectChanged(String dn, int type)
SMSObjectListener
objectChanged
in interface SMSObjectListener
public void allObjectsChanged()
SMSObjectListener
allObjectsChanged
in interface SMSObjectListener
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.