directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-746) DefaultDirectoryService.createBootstrapEntries() throws NullPointerException if no authorizationService is configured
Date Thu, 25 Jan 2007 14:29:17 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467391
] 

Emmanuel Lecharny commented on DIRSERVER-746:
---------------------------------------------

Fixed in 1.0.1 :
http://svn.apache.org/viewvc?view=rev&rev=499801

Fixed in 1.5.0 :
http://svn.apache.org/viewvc?view=rev&rev=499802

> DefaultDirectoryService.createBootstrapEntries() throws NullPointerException if no authorizationService
is configured
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-746
>                 URL: https://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 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message