directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r722224 - in /directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core: CoreSession.java DefaultCoreSession.java
Date Mon, 01 Dec 2008 20:54:14 GMT
Author: elecharny
Date: Mon Dec  1 12:54:14 2008
New Revision: 722224

URL: http://svn.apache.org/viewvc?rev=722224&view=rev
Log:
Removed an unused method (it might be restored if needed, but right now, it's not called anywhere)

Modified:
    directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/CoreSession.java
    directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/DefaultCoreSession.java

Modified: directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/CoreSession.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/CoreSession.java?rev=722224&r1=722223&r2=722224&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/CoreSession.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/CoreSession.java
Mon Dec  1 12:54:14 2008
@@ -305,11 +305,16 @@
      */
     ClonedServerEntry lookup( LdapDN dn ) throws Exception;
 
+    /**
+     * Looks up an entry in the server returning all attributes: both user and
+     * operational attributes.
+     *
+     * @param dn the name of the entry to lookup
+     * @param atIds The list of attributes to return
+     * @throws Exception if there are failures while looking up the entry
+     */
     ClonedServerEntry lookup( LdapDN dn, String[] atIds ) throws Exception;
 
-    ClonedServerEntry lookup( LdapDN dn, Control[] requestControls, ReferralHandlingMode
refMode, 
-        LdapDN authorized ) throws Exception;
-
     
     /**
      * Modifies an entry within the server by applying a list of modifications 

Modified: directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/DefaultCoreSession.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/DefaultCoreSession.java?rev=722224&r1=722223&r2=722224&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/DefaultCoreSession.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/core/src/main/java/org/apache/directory/server/core/DefaultCoreSession.java
Mon Dec  1 12:54:14 2008
@@ -637,16 +637,6 @@
     }
 
 
-    public ClonedServerEntry lookup( LdapDN dn, Control[] requestControls, ReferralHandlingMode
refMode,
-        LdapDN authorized ) throws Exception
-    {
-        LookupOperationContext opContext = new LookupOperationContext( this, dn );
-        opContext.addRequestControls( requestControls );
-        OperationManager operationManager = directoryService.getOperationManager();
-        return operationManager.lookup( opContext );
-    }
-
-
     public boolean exists( LdapDN dn ) throws Exception
     {
         EntryOperationContext opContext = new EntryOperationContext( this, dn );



Mime
View raw message