org.apache.directory.server.core.authz
Class TupleCache
java.lang.Object
org.apache.directory.server.core.authz.TupleCache
public class TupleCache
- extends java.lang.Object
A cache for tuple sets which responds to specific events to perform
cache house keeping as access control subentries are added, deleted
and modified.
- Version:
- $Rev: 530528 $
- Author:
- Apache Directory Project
Method Summary |
java.util.List |
getACITuples(java.lang.String subentryDn)
|
void |
subentryAdded(java.lang.String upName,
org.apache.directory.shared.ldap.name.LdapDN normName,
javax.naming.directory.Attributes entry)
|
void |
subentryDeleted(javax.naming.Name normName,
javax.naming.directory.Attributes entry)
|
void |
subentryModified(org.apache.directory.shared.ldap.name.LdapDN normName,
int modOp,
javax.naming.directory.Attributes mods,
javax.naming.directory.Attributes entry)
|
void |
subentryModified(org.apache.directory.shared.ldap.name.LdapDN normName,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods,
javax.naming.directory.Attributes entry)
|
void |
subentryRenamed(javax.naming.Name oldName,
javax.naming.Name newName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleCache
public TupleCache(DirectoryServiceConfiguration factoryCfg)
throws javax.naming.NamingException
- Creates a ACITuple cache.
- Parameters:
factoryCfg
- the context factory configuration for the server
- Throws:
javax.naming.NamingException
subentryAdded
public void subentryAdded(java.lang.String upName,
org.apache.directory.shared.ldap.name.LdapDN normName,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
subentryDeleted
public void subentryDeleted(javax.naming.Name normName,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
subentryModified
public void subentryModified(org.apache.directory.shared.ldap.name.LdapDN normName,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
subentryModified
public void subentryModified(org.apache.directory.shared.ldap.name.LdapDN normName,
int modOp,
javax.naming.directory.Attributes mods,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getACITuples
public java.util.List getACITuples(java.lang.String subentryDn)
subentryRenamed
public void subentryRenamed(javax.naming.Name oldName,
javax.naming.Name newName)
Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.