public class CachedSubEntries extends Object implements SMSEventListener
Modifier and Type | Field and Description |
---|---|
protected CachedSMSEntry |
cachedEntry |
protected static Map<String,CachedSubEntries> |
smsEntries |
protected Map<String,Set> |
ssoTokenToSubEntries |
Modifier and Type | Method and Description |
---|---|
protected void |
add(String entry) |
protected boolean |
contains(SSOToken t,
String entry) |
protected void |
finalize() |
static CachedSubEntries |
getInstance(SSOToken token,
String dn) |
static CachedSubEntries |
getInstanceIfCached(SSOToken token,
String dn,
boolean cached) |
Set |
getSchemaSubEntries(SSOToken token,
String pattern,
String serviceidPattern)
Returns sub-entries that belong to given SubSchema name and
statisfies the pattern.
|
protected SMSEntry |
getSMSEntry() |
protected Set |
getSubEntries(SSOToken t)
Returns one-level sub-entries for the given DN.
|
Set<String> |
getSubEntries(SSOToken token,
String pattern)
Return sub-entries that match the pattern.
|
protected boolean |
isEmpty(SSOToken t) |
void |
notifySMSEvent(org.forgerock.opendj.ldap.DN dn,
int event)
Called when an SMS event occurs to the requested object.
|
protected void |
remove(String entry) |
Set |
searchOrgNames(SSOToken token,
String serviceName,
String attrName,
Set values)
Returns realm names that match the attribute-values pair for the
given service name.
|
Set |
searchSubOrgNames(SSOToken token,
String pattern,
boolean recursive)
Returns realm names that matches the given pattern.
|
protected void |
update() |
protected static Map<String,CachedSubEntries> smsEntries
protected CachedSMSEntry cachedEntry
protected Set getSubEntries(SSOToken t) throws SMSException, SSOException
t
- SSOToken to used for searchingSMSException
SSOException
public Set<String> getSubEntries(SSOToken token, String pattern) throws SMSException, SSOException
token
- pattern
- SMSException
SSOException
public Set getSchemaSubEntries(SSOToken token, String pattern, String serviceidPattern) throws SMSException, SSOException
token
- pattern
- serviceidPattern
- sub-schema nameSMSException
SSOException
protected void add(String entry)
protected void remove(String entry)
protected boolean isEmpty(SSOToken t) throws SMSException, SSOException
SMSException
SSOException
protected boolean contains(SSOToken t, String entry) throws SMSException, SSOException
SMSException
SSOException
protected SMSEntry getSMSEntry()
protected void update()
protected void finalize() throws Throwable
public Set searchSubOrgNames(SSOToken token, String pattern, boolean recursive) throws SMSException, SSOException
recursive is set to true
, a sub-tree search
is performed. The results are not cached.
token
- pattern
- recursive
- SMSException
SSOException
public Set searchOrgNames(SSOToken token, String serviceName, String attrName, Set values) throws SMSException, SSOException
token
- serviceName
- attrName
- values
- SMSException
SSOException
public static CachedSubEntries getInstanceIfCached(SSOToken token, String dn, boolean cached) throws SMSException
SMSException
public static CachedSubEntries getInstance(SSOToken token, String dn) throws SMSException
SMSException
public void notifySMSEvent(org.forgerock.opendj.ldap.DN dn, int event)
SMSEventListener
notifySMSEvent
in interface SMSEventListener
dn
- The DN of the object that the event has occurred for.event
- The event that has occurred.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.