Apache Directory Project - [jira] Closed: (DIRSERVER-844) Storing bytevalues for textual AT

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > April 2007 > [jira] Closed: (DIRSERVER-844) Storing bytevalues for textual AT





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Closed: (DIRSERVER-844) Storing bytevalues for textual AT
Emmanuel Lecharny (JIRA)

2007-04-21, 7:11 am


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-844.
---------------------------------------


> Storing byte[] values for textual AT is possible even if not allowed
> --------------------------------------------------------------------
>
> Key: DIRSERVER-844
> URL: https://issues.apache.org/jira/browse/DIRSERVER-844
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.1, 1.5.0
> Reporter: Emmanuel Lecharny
> Fix For: 1.0.1, 1.5.0
>
>
> If we pass a DN as a byte[] to the server (for instance, by importing a Ldif file which contains an base64 encoded value), the server stores the value as a byte[] instead of transforming the value to a String before storing it. This is not good at all.

In case we have a H-R atttribute type, then we must assume that the value should be converted to a String, and if we get an invalid byte[], then we must throw an exception.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com