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