Issue Details (XML | Word | Printable)

Key: DIRSERVER-746
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Bastiaan Bakker
Votes: 0
Watchers: 0
Operations

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

DefaultDirectoryService.createBootstrapEntries() throws NullPointerException if no authorizationService is configured

Created: 21/Sep/06 01:25 PM   Updated: 15/Feb/09 01:36 PM
Return to search
Component/s: core
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works apacheds-1.0-RC4-authorizationservice.patch 2006-09-21 01:32 PM Bastiaan Bakker 2 kB

Resolution Date: 25/Jan/07 02:20 PM


 Description  « Hide
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 NullPointerException. 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.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.