[JBoss JIRA] Created: (JBMICROCONT-109) Support direct registration of beans without a StandardMBean wrapper
by Brian Stansberry (JIRA)
Support direct registration of beans without a StandardMBean wrapper
--------------------------------------------------------------------
Key: JBMICROCONT-109
URL: http://jira.jboss.com/jira/browse/JBMICROCONT-109
Project: JBoss MicroContainer
Issue Type: Sub-task
Components: General
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossMC_2_0_0 Beta
If a bean is already a valid MBean, it should be possible to directly register it in JMX without wrapping it in a StandardMBean. Otherwise beans that implement things like MBeanRegistration, NotificationBroadcaster, NotificationEmitter will not expose that API to the mbean server.
To support this, @JMX will add an attribute:
boolean registerDirectly() default false;
JMXIntroduction will check the attribute; if true the target bean will be registered directly; otherwise a StandardMBean will be created and registered.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months
[JBoss JIRA] Created: (JBPORTAL-1562) Isolate Identity services in separate .sar
by Antoine Herzog (JIRA)
Isolate Identity services in separate .sar
------------------------------------------
Key: JBPORTAL-1562
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1562
Project: JBoss Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Portal Identity
Affects Versions: 2.6 Final
Environment: JBP2.6.0
Reporter: Antoine Herzog
Priority: Minor
Fix For: 2.8 Final
All the classes of Identity are in a jar (portal-identity.jar).
The configuration is in several folders :
"deploy\jboss-portal.sar\conf\hibernate\user/"
and
"deploy\jboss-portal.sar\conf\identity"
May be it is possible to bundle all the identity features in a separate (sub) sar of the portal.
And also provide a deploy option to build :
- Hibernate implementation only
- LDAP implementation only
- Both
Usecase :
- More clean, for customization
- Ability to remove the original JBoss Portal portal-identity.sar and deploy a new customized one
More more easy for release upgrade than writting in the files of jboss-portal.sar.
- Ability to avoid having the LDAP config in prod that does not use LDAP.
- More easy to build automatic test, for various User and Role implementation (Hib, LDAP, ... EJB3 coming ?)
- More easy for providing other identity storage and management (community or vendors).
I guess that should work.
may be check a few things :
- deployement : make sure that all goes fine when the server start (this service is vital for a lot of major portal services)
- make sure all is fine with CMS needs etc... see Jira : http://jira.jboss.com/jira/browse/JBPORTAL-1499
- adaptation of the documentation
I have adapted the Hibernate implementation, to work with some "extended User and Role".
Works fine.
But not easy (not clean) to set the configuration in the original files (and will not also for upgrades like next 2.6.1).
By the way : Identity is widely used in systems. May be this implementation (services, controlers, etc...) could become a separate JBoss AS module (not only for portal) ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months