[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JBM 2.0 new Security Manager
ataylor
do-not-reply at jboss.com
Wed Apr 2 09:32:07 EDT 2008
Ive created a new Security manager for JBM 2.0. Instead of the security store talking direct to the Jboss AuthenticationManager it uses a new interface JBMSecurityManager. There are 2 implementations of this interface, JAASSecuritymanager, which basically does what the old security store does and delegates to the JAAS AuthenticationManager and a simple implementation that can be used for standalone or embedded purposes, or even with the App server if the user so wishes.
Ive also added a SecurityManager Deployer that will load users and roles from an xml file (jbm-security.xml) into the Simple SecurityManager.
The old tests still use a JAAS based Authentication, however any new style tests that create a MessagingServer dynamically will use the Simple one, because of this the simple SecurityManager automatically adds a guest user so the tests still pass.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140970#4140970
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140970
More information about the jboss-dev-forums
mailing list