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] Updated: (DIRSERVER-1160) provide more details when throwing "AccessControlException: access denied"
Date Wed, 09 Jul 2008 13:21:31 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny updated DIRSERVER-1160:
-----------------------------------------

    Fix Version/s: 2.0.0

Postponed

> provide more details when throwing "AccessControlException: access denied"
> --------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1160
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1160
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>         Environment: debian etch
>            Reporter: Ralf Hauser
>             Fix For: 2.0.0
>
>
> DefaultDirectoryService.startup() should catch the AccessControlException and re-throw
with more info:
> - which OS uid/gid did access it? What object type was "shutDownHooks"
> java.security.AccessControlException: access denied (java.lang.RuntimePermission shutdownHooks)
>         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
>         at java.security.AccessController.checkPermission(AccessController.java:427)
>         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
>         at java.lang.Runtime.addShutdownHook(Runtime.java:188)
>         at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:187)
>         at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:117)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
>         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
>         at javax.naming.InitialContext.init(InitialContext.java:223)
>         at javax.naming.InitialContext.<init>(InitialContext.java:197)
>         at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)

-- 
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