Issue Details (XML | Word | Printable)

Key: DIRSERVER-445
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Alex Karasulu
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Let users can choose an ApacheDS instance by specifying instance ID in a URL instead of Configuration object.

Created: 06/Oct/05 06:50 PM   Updated: 21/Aug/08 04:38 AM
Return to search
Component/s: core
Affects Version/s: None
Fix Version/s: 1.5.4

Time Tracking:
Not Specified

Resolution Date: 21/Aug/08 04:38 AM


 Description  « Hide
Even though we can specify an instance ID to select an appropriate ApacheDS instance via a Configuration object, this makes users have to be aware of ApacheDS-specific classes unfortunately. We could provide the better place to specify an instance ID - a URL.

The format of URL is TBD. Please let me know your idea by commenting here.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jacob S. Barrett added a comment - 07/Oct/05 01:41 AM
apacheds://<instance>/<base dn>

So for example if my instance was foo and my base was cn=bar:
apacheds://foo/cn=bar

I like this because if has the same look and feel as the LDAP url. I chose "apacheds" as the protocol section because we shouldn't use LDAP since this not using LDAP to access the context but rather some "internal protocol".

Trustin Lee added a comment - 07/Oct/05 10:56 AM
It is a great idea. I agree with you totally. Thanks!

Alex Karasulu added a comment - 07/Oct/05 12:47 PM

Alex Karasulu says: (11:35:37 PM)
   hmmm this is interesting one 270 .. I guess [it] is JNDI URL thingy with instanceID

Alex Karasulu says: (11:36:22 PM)
   will that have an effect on using URL if we move to making the provider URL a real url instead of a DN?

Trustin Lee at gleamynode.net says: (11:36:56 PM)
   Hmm.. not sure.

Alex Karasulu says: (11:37:07 PM)
   something to think about I guess

Trustin Lee at gleamynode.net says: (11:37:07 PM)
   But using URL is better choice imho.

Alex Karasulu says: (11:37:13 PM)
   yeah I think so too

Trustin Lee at gleamynode.net says: (11:37:22 PM)
   because the property name is 'provider url'

Trustin Lee at gleamynode.net says: (11:37:25 PM)
   it should be a URL.

Trustin Lee at gleamynode.net says: (11:37:30 PM)
   Not just a DN.

Alex Karasulu says: (11:37:33 PM)
   I was going to look into that later for 0.9.4

...

we need to think more about this one

Emmanuel Lecharny added a comment - 09/Jul/08 01:26 PM
No time for this for 2.0. Let's try to dig the proposal for 2.5

Alex Karasulu added a comment - 21/Aug/08 04:38 AM
No longer needed with JNDI out of the picture.