[Design of Security on JBoss] - Re: Bringing together an unified security view
by julien@jboss.com
I don't understand why you want so hard to mutualize a set of POJOs + an hibernate configuration. It's trivial software to write.
In portal world, a lot of things are done rather around LDAP and database is a good default option (for out of the box).
"tom.baeyens(a)jboss.com" wrote : "sohil.shah(a)jboss.com" wrote : tom-
| |
| | what you are talking about at this point is the Identity Management Framework. As far as the ACL component is concerned (topic of discussion in this thread), it should be Identity Management Framework agnostic with ability to plugin different Identity Management implementations.
| |
| | Thanks
|
| if i understand you correctly, that is exactly the opposite of what I'm trying to promote.
|
| i think we can build 1 implementation so that all the projects can leverage it as an implementation for project specific identity interfaces.
|
| that way, in the platforms, it would be possible to configure all the components to use 1 and the same component implementation.
|
| at a minimum, a database schema has to be defined so that we all can work with a single DB repository. And IMO, a set of POJO's+hibernate mappings should accompany the common identity database schema.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098350#4098350
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098350
17 years, 2 months
[Design of Security on JBoss] - Re: Bringing together an unified security view
by tom.baeyens@jboss.com
"sohil.shah(a)jboss.com" wrote : tom-
|
| what you are talking about at this point is the Identity Management Framework. As far as the ACL component is concerned (topic of discussion in this thread), it should be Identity Management Framework agnostic with ability to plugin different Identity Management implementations.
|
| Thanks
if i understand you correctly, that is exactly the opposite of what I'm trying to promote.
i think we can build 1 implementation so that all the projects can leverage it as an implementation for project specific identity interfaces.
that way, in the platforms, it would be possible to configure all the components to use 1 and the same component implementation.
at a minimum, a database schema has to be defined so that we all can work with a single DB repository. And IMO, a set of POJO's+hibernate mappings should accompany the common identity database schema.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098344#4098344
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098344
17 years, 2 months
[QA of JBoss Portal] - Portlet Container test framework update
by julien@jboss.com
It is about migrating the portlet container test framework in order to take advantage of Java 5 and make the different tests easier to write (as we plan to add lot of new tests for the JSR 286 implementation). It will only leverage for now annotations which are helpful to describe the sequence of the different methods composing a test case.
Now we have something like
package org.jboss.portal.test.portlet.jsr168.tck.portletinterface;
|
| public class PortletInterfaceSequenceBuilder extends PortletTestSuite
| {
| /**
| * @portlet.specification assert="SPEC:4 - After the portlet object is instantiated, the portlet container must
| * initialize the portlet before invoking it to handle requests"
| */
| public void createInitializeBeforeHandleCase(PortletTestDriver registry)
| {
| PortletTest seq = new PortletTest();
| registry.addSequence("InitializeBeforeHandle", seq);
| seq.addAction(0, InitializeBeforeHandlePortlet.RENDER_JOINPOINT, new PortletRenderTestAction()
| {
| protected DriverResponse run(Portlet portlet, RenderRequest request, RenderResponse response, PortletTestContext context)
| {
| assertTrue(InitializeBeforeHandlePortlet.init);
| return new EndTestResponse();
| }
| });
| }
| }
Each test case should be migrated to a single class which will help to isolate the test cases from each other and will be constitued of methods annotated with @JoinPoint annotation describing when and where this methods should be executed during a portal request. There will be also the @TCK annotation that will be optional and will annotate methods that test TCK assertions present in the spec.
package org.jboss.portal.test.portlet.jsr168.tck.portletinterface;
|
| public class InitializeBeforeHandle
| {
| @TCK(4)
| @JoinPoint(count = 0, portletId = InitializeBeforeHandlePortlet.NAME)
| public DriverResponse run(Portlet portlet, RenderRequest request, RenderResponse response, PortletTestContext context)
| {
| assertTrue(InitializeBeforeHandlePortlet.init);
| return new EndTestResponse();
| }
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098218#4098218
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098218
17 years, 2 months