org.apache.directory.server.core.authz
Class TupleCache

java.lang.Object
  extended by 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: 662440 $
Author:
Apache Directory Project

Constructor Summary
TupleCache(CoreSession session)
          Creates a ACITuple cache.
 
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.LdapDN normName, ServerEntry entry)
           
 void subentryDeleted(org.apache.directory.shared.ldap.name.LdapDN normName, ServerEntry entry)
           
 void subentryModified(org.apache.directory.shared.ldap.name.LdapDN normName, java.util.List<org.apache.directory.shared.ldap.entry.Modification> mods, ServerEntry entry)
           
 void subentryModified(org.apache.directory.shared.ldap.name.LdapDN normName, ServerEntry mods, ServerEntry entry)
           
 void subentryRenamed(org.apache.directory.shared.ldap.name.LdapDN oldName, org.apache.directory.shared.ldap.name.LdapDN newName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

subentryAdded

public void subentryAdded(org.apache.directory.shared.ldap.name.LdapDN normName,
                          ServerEntry entry)
                   throws javax.naming.NamingException
Throws:
javax.naming.NamingException

subentryDeleted

public void subentryDeleted(org.apache.directory.shared.ldap.name.LdapDN normName,
                            ServerEntry entry)
                     throws javax.naming.NamingException
Throws:
javax.naming.NamingException

subentryModified

public void subentryModified(org.apache.directory.shared.ldap.name.LdapDN normName,
                             java.util.List<org.apache.directory.shared.ldap.entry.Modification> mods,
                             ServerEntry entry)
                      throws javax.naming.NamingException
Throws:
javax.naming.NamingException

subentryModified

public void subentryModified(org.apache.directory.shared.ldap.name.LdapDN normName,
                             ServerEntry mods,
                             ServerEntry entry)
                      throws javax.naming.NamingException
Throws:
javax.naming.NamingException

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.LdapDN oldName,
                            org.apache.directory.shared.ldap.name.LdapDN newName)


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.