[
https://jira.jboss.org/jira/browse/JBNAME-21?page=com.atlassian.jira.plug...
]
Scott M Stark resolved JBNAME-21.
---------------------------------
Resolution: Done
A SecurityManager can be injected into the NamingBeanImpl securityMgr property:
<bean name="QueueSecurityManager"
class="org.jnp.test.support.QueueSecurityManager">
</bean>
<bean name="testInjectedSecurityManager"
class="org.jnp.server.NamingBeanImpl">
<!-- Install this bean as the global JVM NamingServer -->
<property name="installGlobalService">true</property>
<property name="useGlobalService">false</property>
<!-- Set the SecurityManager to use -->
<property name="securityMgr"><inject
bean="QueueSecurityManager"/></property>
</bean>
Add ability to inject the naming SecurityManager
------------------------------------------------
Key: JBNAME-21
URL:
https://jira.jboss.org/jira/browse/JBNAME-21
Project: JBoss Naming
Issue Type: Feature Request
Components: jnpserver
Affects Versions: 5.0.0.CR3
Reporter: Scott M Stark
Assignee: Scott M Stark
Fix For: 5.0.0.GA
It would be nice to be able to inject a SecurityManager instance rather than having to
rely on the jvm System.getSecurityManager() value.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira