Apache Directory Project - [jira] Updated: (DIRSERVER-746)

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > September 2006 > [jira] Updated: (DIRSERVER-746)





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] Updated: (DIRSERVER-746)
Bastiaan Bakker (JIRA)

2006-09-21, 1:11 pm

[ http://issues.apache.org/jira/brows...ER-746?page=all ]

Bastiaan Bakker updated DIRSERVER-746:
--------------------------------------

Attachment: apacheds-1.0-RC4-authorizationservice.patch

The attached patchs adds a check to DefaultDirectoryService.createBootstrapEntries() to ensure that the authorizarionService interceptor exists and is an instance of AuthorizationService before calling cacheNewGroup()


> DefaultDirectoryService.createBootstrapEntries() throws NullPointerException if no authorizationService is configured
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: DIRSERVER-746
> URL: http://issues.apache.org/jira/browse/DIRSERVER-746
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: core
> Reporter: Bastiaan Bakker
> Priority: Minor
> Attachments: apacheds-1.0-RC4-authorizationservice.patch
>
>
> DefaultDirectoryService.createBootstrapEntries() has a hardcoded dependency on AuthorizationService being configured as the 'authorizationService' interceptor. If one does not want to configure an authorizationService the code in question will throw a N

ullPointerException. Also if one does configure a different authorizationService implementation the code will throw a ClassCastException.
> Clearly the code should not assume an AuthorizationService instance has been configured as the 'authorizationService' interceptor.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com