Issue Details (XML | Word | Printable)

Key: DIRSERVER-491
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

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

Support multiple 'new InitialContext()' calls with different principle and root DN

Created: 13/Jun/05 01:57 PM   Updated: 10/Feb/06 12:43 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 13/Jun/05 02:00 PM


 Description  « Hide
Current implementation of ApacheDS core doesn't work well if a user tries to create another initial context with differend PROVIDER_URL (root DN); it just returns previous context with previous root DN, and it becomes a problem if user tried to call 'new InitialContext()' with different PROVIDER_URL.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee added a comment - 13/Jun/05 02:00 PM
Now AbstractContextFactory creates DefaultContextFactoryContext not specifying any principals or any provider URLs. I added ContextFactoryContext.getJndiContect(username, password, rootDN) so that initial contexts are created with principal, credential, and provider url respectively.