You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <di...@incubator.apache.org> on 2005/03/29 03:14:17 UTC

[jira] Closed: (DIREVE-46) Create DN Normalizer IBC

     [ http://issues.apache.org/jira/browse/DIREVE-46?page=history ]
     
Alex Karasulu closed DIREVE-46:
-------------------------------

     Resolution: Fixed
    Fix Version: 0.9

Committed new NormalizerService on revision 159316 here:

http://svn.apache.org/viewcvs?view=rev&rev=159316

> Create DN Normalizer IBC
> ------------------------
>
>          Key: DIREVE-46
>          URL: http://issues.apache.org/jira/browse/DIREVE-46
>      Project: Directory Server
>         Type: Task
>   Components: interceptors
>     Reporter: Alex Karasulu
>     Assignee: Alex Karasulu
>      Fix For: 0.9

>
> We need to normalize distinguished names while performing backend operations.  At this point the nexus and context partitions presume this is already being done and we use specific arguments when they would like unnormalized distinguished names.  The unnormalized name is often referred to as the UPDN or User Provided Distinguished Name. 
> Basically we must store the UPDN and the Normalized DN (NDN) in order to correctly look up and return values as they were given to us.  This is a result of possible variations in case and whitespace within a distinguished name as it is given across operations and users.
> The DN Normalization IBS (interceptor based service) will need to depend upon the schema subsystem to correctly normalized DNs.  Schema info is needed when normalizing the values of individual name components.  For example some name component value might be a case sensitive string.  If so we cannot normalize by reducing case as we would case insensitive attribute values in the DN.  Hence we need to lookup attributeType information to determine the equality matching rules hence normalizers to use for that attribute while normalizing values.
> The DN normalization IBS needs to alter Name and String arguments for distinguished names provided to PartitionNexus methods.  This must be done within the before interceptor chain.  
> The IBS can also serve as a centralized name cache so repeated normalization need not occur.  This however may automatically be handled by the underlying attribute value normalizers used by the DN normalizer.  We can figure all this out later after getting the baseline up.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira