directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1021452 - in /directory: apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/ apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/ apacheds/trunk/core/src/main/java/org/apache/directory/server/core/ ap...
Date Mon, 11 Oct 2010 18:32:34 GMT
Author: kayyagari
Date: Mon Oct 11 18:32:33 2010
New Revision: 1021452

URL: http://svn.apache.org/viewvc?rev=1021452&view=rev
Log:
o removed obsoleted 'passwordHidden' parameter and its associated methods

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/DirectoryService.java
    directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/MockDirectoryService.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
    directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
    directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java
    directory/shared/trunk/ldap-schema/src/main/resources/schema/ou=schema/cn=adsconfig/ou=attributetypes/m-oid=1.3.6.1.4.1.18060.0.4.1.2.104.ldif
    directory/shared/trunk/ldap-schema/src/main/resources/schema/ou=schema/cn=adsconfig/ou=objectclasses/m-oid=1.3.6.1.4.1.18060.0.4.1.3.100.ldif

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/DirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/DirectoryService.java?rev=1021452&r1=1021451&r2=1021452&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/DirectoryService.java
(original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/DirectoryService.java
Mon Oct 11 18:32:33 2010
@@ -268,15 +268,6 @@ public interface DirectoryService extend
 
 
     /**
-     * Returns <tt>true</tt> if the service requires the userPassword attribute
-     * to be masked. It's an option in the server.xml file.
-     *
-     * @return true if the service requires that the userPassword is to be hidden
-     */
-    boolean isPasswordHidden();
-
-    
-    /**
      * Sets whether to allow anonymous access to entries other than the RootDSE.  If the
      * access control subsystem is enabled then access to some entries may not be allowed
      * even when full anonymous access is enabled.
@@ -286,13 +277,6 @@ public interface DirectoryService extend
     void setAllowAnonymousAccess( boolean enableAnonymousAccess );
 
 
-    /**
-     * Sets whether the userPassword attribute is readable, or hidden.
-     *
-     * @param passwordHidden true to enable hide the userPassword attribute, false otherwise
-     */
-    void setPasswordHidden( boolean passwordHidden );
-
 
     /**
      * Returns interceptors in the server.

Modified: directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/MockDirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/MockDirectoryService.java?rev=1021452&r1=1021451&r2=1021452&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/MockDirectoryService.java
(original)
+++ directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/MockDirectoryService.java
Mon Oct 11 18:32:33 2010
@@ -405,16 +405,7 @@ public class MockDirectoryService implem
     {
     }
     
-    public boolean isPasswordHidden()
-    {
-        return false;
-    }
     
-    public void setPasswordHidden( boolean passwordHidden )
-    {
-    }
-
-
     public int getMaxPDUSize()
     {
         return Integer.MAX_VALUE;

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java?rev=1021452&r1=1021451&r2=1021452&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Mon Oct 11 18:32:33 2010
@@ -155,9 +155,6 @@ public class DefaultDirectoryService imp
     /** The referral manager */
     private ReferralManager referralManager;
 
-    /** A flag to tell if the userPassword attribute's value must be hidden */
-    private boolean passwordHidden = false;
-
     /** The service's CSN factory */
     private CsnFactory csnFactory;
 
@@ -1611,24 +1608,6 @@ public class DefaultDirectoryService imp
 
 
     /**
-     * {@inheritDoc}
-     */
-    public boolean isPasswordHidden()
-    {
-        return passwordHidden;
-    }
-
-
-    /**
-     * {@inheritDoc}
-     */
-    public void setPasswordHidden( boolean passwordHidden )
-    {
-        this.passwordHidden = passwordHidden;
-    }
-
-
-    /**
      * @return The maximum allowed size for an incoming PDU
      */
     public int getMaxPDUSize()

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java?rev=1021452&r1=1021451&r2=1021452&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
Mon Oct 11 18:32:33 2010
@@ -991,13 +991,6 @@ public class ConfigPartitionReader
             dirService.setMaxPDUSize( Integer.parseInt( maxPduAttr.getString() ) );
         }
 
-        EntryAttribute passwordHidAttr = dsEntry.get( ConfigSchemaConstants.ADS_DS_PASSWORD_HIDDEN
);
-
-        if ( passwordHidAttr != null )
-        {
-            dirService.setPasswordHidden( Boolean.parseBoolean( passwordHidAttr.getString()
) );
-        }
-
         EntryAttribute replAttr = dsEntry.get( ConfigSchemaConstants.ADS_DS_REPLICATION );
 
         if ( replAttr != null )

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java?rev=1021452&r1=1021451&r2=1021452&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java
Mon Oct 11 18:32:33 2010
@@ -92,7 +92,8 @@ public interface ConfigSchemaConstants
 
     String ADS_DS_MAXPDU_SIZE = "ads-dsMaxPDUSize";
 
-    String ADS_DS_PASSWORD_HIDDEN = "ads-dsPasswordHidden";
+    // this AT is no longer in use, can be renamed for reuse
+    //String ADS_DS_PASSWORD_HIDDEN = "ads-dsPasswordHidden";
 
     String ADS_DS_REPLICATION = "ads-dsReplication";
 

Modified: directory/shared/trunk/ldap-schema/src/main/resources/schema/ou=schema/cn=adsconfig/ou=attributetypes/m-oid=1.3.6.1.4.1.18060.0.4.1.2.104.ldif
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-schema/src/main/resources/schema/ou%3Dschema/cn%3Dadsconfig/ou%3Dattributetypes/m-oid%3D1.3.6.1.4.1.18060.0.4.1.2.104.ldif?rev=1021452&r1=1021451&r2=1021452&view=diff
==============================================================================
--- directory/shared/trunk/ldap-schema/src/main/resources/schema/ou=schema/cn=adsconfig/ou=attributetypes/m-oid=1.3.6.1.4.1.18060.0.4.1.2.104.ldif
(original)
+++ directory/shared/trunk/ldap-schema/src/main/resources/schema/ou=schema/cn=adsconfig/ou=attributetypes/m-oid=1.3.6.1.4.1.18060.0.4.1.2.104.ldif
Mon Oct 11 18:32:33 2010
@@ -1,3 +1,4 @@
+# this AT is no longer in use, can be renamed for reuse
 version: 1
 dn: m-oid=1.3.6.1.4.1.18060.0.4.1.2.104, ou=attributeTypes, cn=adsconfig, ou=sch
  ema

Modified: directory/shared/trunk/ldap-schema/src/main/resources/schema/ou=schema/cn=adsconfig/ou=objectclasses/m-oid=1.3.6.1.4.1.18060.0.4.1.3.100.ldif
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-schema/src/main/resources/schema/ou%3Dschema/cn%3Dadsconfig/ou%3Dobjectclasses/m-oid%3D1.3.6.1.4.1.18060.0.4.1.3.100.ldif?rev=1021452&r1=1021451&r2=1021452&view=diff
==============================================================================
--- directory/shared/trunk/ldap-schema/src/main/resources/schema/ou=schema/cn=adsconfig/ou=objectclasses/m-oid=1.3.6.1.4.1.18060.0.4.1.3.100.ldif
(original)
+++ directory/shared/trunk/ldap-schema/src/main/resources/schema/ou=schema/cn=adsconfig/ou=objectclasses/m-oid=1.3.6.1.4.1.18060.0.4.1.3.100.ldif
Mon Oct 11 18:32:33 2010
@@ -17,7 +17,6 @@ m-may: ads-dsChangeLog
 m-may: ads-dsDenormalizeOpAttrsEnabled
 m-may: ads-dsJournal
 m-may: ads-dsMaxPDUSize
-m-may: ads-dsPasswordHidden
 m-may: ads-dsReplication
 m-may: ads-dsSyncPeriodMillis
 m-may: ads-dsTestEntries



Mime
View raw message