directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Commented: (DIRLDAP-43) Refactor Attributes implementations
Date Wed, 26 Oct 2005 21:07:56 GMT
    [ ] 

Emmanuel Lecharny commented on DIRLDAP-43:

The specific LockableAttributeImpl class muts be refactored in two directions :
- as Alex said, 'Lockability' is useless. 
- much more important, the class *must* be aware of it's attribute type. A user could perfectly
store a String or a byte array in an attribute, depending on the attribute type being binary
or not. Actually, it is supposed to be a String, and this is not the best option. We should
accept byte[].

The following transformation table should be applied :

    Attribute's type  client type server type
       String                   String        String
       String                   byte[]         String
       OctetString          String         byte[]
       OctetString          byte[]         byte[]
       whatever             XXX           error    where XXX is not String or Byte


> Refactor Attributes implementations
> -----------------------------------
>          Key: DIRLDAP-43
>          URL:
>      Project: Directory LDAP
>         Type: Improvement
>     Versions: 0.9.0
>     Reporter: Trustin Lee
>     Assignee: Alex Karasulu
>      Fix For: 0.9.3

> There are a few implementations of JNDI Attributes type, but some of they seem to exist
due to historical reason.  Let's review and replace them with BasicAttributes if necessary.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message