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: 928945 $
- Author:
- Apache Directory Project
Method Summary |
java.util.List<org.apache.directory.shared.ldap.aci.ACITuple> |
getACITuples(java.lang.String subentryDn)
|
void |
subentryAdded(org.apache.directory.shared.ldap.name.DN normName,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
|
void |
subentryDeleted(org.apache.directory.shared.ldap.name.DN normName,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
|
void |
subentryModified(org.apache.directory.shared.ldap.name.DN normName,
java.util.List<org.apache.directory.shared.ldap.entry.Modification> mods,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
|
void |
subentryModified(org.apache.directory.shared.ldap.name.DN normName,
org.apache.directory.shared.ldap.entry.ServerEntry mods,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
|
void |
subentryRenamed(org.apache.directory.shared.ldap.name.DN oldName,
org.apache.directory.shared.ldap.name.DN newName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleCache
public TupleCache(CoreSession session)
throws java.lang.Exception
- Creates a ACITuple cache.
- Parameters:
directoryService
- the context factory configuration for the server
- Throws:
javax.naming.NamingException
- if initialization fails
java.lang.Exception
subentryAdded
public void subentryAdded(org.apache.directory.shared.ldap.name.DN normName,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws org.apache.directory.shared.ldap.exception.LdapException
- Throws:
org.apache.directory.shared.ldap.exception.LdapException
subentryDeleted
public void subentryDeleted(org.apache.directory.shared.ldap.name.DN normName,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws org.apache.directory.shared.ldap.exception.LdapException
- Throws:
org.apache.directory.shared.ldap.exception.LdapException
subentryModified
public void subentryModified(org.apache.directory.shared.ldap.name.DN normName,
java.util.List<org.apache.directory.shared.ldap.entry.Modification> mods,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws org.apache.directory.shared.ldap.exception.LdapException
- Throws:
org.apache.directory.shared.ldap.exception.LdapException
subentryModified
public void subentryModified(org.apache.directory.shared.ldap.name.DN normName,
org.apache.directory.shared.ldap.entry.ServerEntry mods,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws org.apache.directory.shared.ldap.exception.LdapException
- Throws:
org.apache.directory.shared.ldap.exception.LdapException
getACITuples
public java.util.List<org.apache.directory.shared.ldap.aci.ACITuple> getACITuples(java.lang.String subentryDn)
subentryRenamed
public void subentryRenamed(org.apache.directory.shared.ldap.name.DN oldName,
org.apache.directory.shared.ldap.name.DN newName)
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.