You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <di...@incubator.apache.org> on 2005/06/16 04:52:46 UTC
[jira] Created: (DIRLDAP-43) Refactor Attributes implementations
Refactor Attributes implementations
-----------------------------------
Key: DIRLDAP-43
URL: http://issues.apache.org/jira/browse/DIRLDAP-43
Project: Directory LDAP
Type: Improvement
Versions: 0.9.0
Reporter: Trustin Lee
Assigned to: Alex Karasulu
Fix For: 0.9.1
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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (DIRLDAP-43) Refactor Attributes implementations
Posted by "Alex Karasulu (JIRA)" <di...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/DIRLDAP-43?page=all ]
Alex Karasulu updated DIRLDAP-43:
---------------------------------
Fix Version: 0.9.3
(was: 0.9.2)
> Refactor Attributes implementations
> -----------------------------------
>
> Key: DIRLDAP-43
> URL: http://issues.apache.org/jira/browse/DIRLDAP-43
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (DIRLDAP-43) Refactor Attributes implementations
Posted by "Alex Karasulu (JIRA)" <di...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/DIRLDAP-43?page=all ]
Alex Karasulu resolved DIRLDAP-43:
----------------------------------
Resolution: Fixed
Not going to bother with this since our attributes impl works just fine and we have the code to change things if need be. We just need to cut out this Lockable object crap.
> Refactor Attributes implementations
> -----------------------------------
>
> Key: DIRLDAP-43
> URL: http://issues.apache.org/jira/browse/DIRLDAP-43
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (DIRSERVER-231) Refactor Attributes implementations
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-231.
---------------------------------------
> Refactor Attributes implementations
> -----------------------------------
>
> Key: DIRSERVER-231
> URL: https://issues.apache.org/jira/browse/DIRSERVER-231
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: ldap
> Affects Versions: pre-1.0
> Reporter: Trustin Lee
> Assignee: Alex Karasulu
> Fix For: pre-1.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRLDAP-43) Refactor Attributes implementations
Posted by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/DIRLDAP-43?page=comments#action_12356012 ]
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: http://issues.apache.org/jira/browse/DIRLDAP-43
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira