[Ds-java-dev] [Carbon-dev] Security Component - Couple of module.xmls
Dimuthu Leelarathne
dimuthul at wso2.com
Tue Jul 29 20:31:12 PDT 2008
Hi,
Security component has been restructured as per below conversation.
Now the new bundles are as follows;
org.wso2.carbon.security.rampart
org.wso2.carbon.security.rahas
org.wso2.carbon.security.policy
org.wso2.carbon.security.mgt
org.wso2.carbon.security.mgt.ui
Please add these to the DS build.
Thank you,
Dimuthu
On Tue, 2008-07-29 at 17:55 +0530, Dimuthu Leelarathne wrote:
> Hi,
>
> So to resolve this problem I propose to break down the security
> component into following bundles.
>
> org.wso2.carbon.security.rampart
> org.wso2.carbon.security.rahas
> org.wso2.carbon.security.mgt
> org.wso2.carbon.security.mgt.ui
>
>
> Thank you,
> Dimuthu
>
> On Tue, 2008-07-29 at 17:13 +0530, Afkham Azeez wrote:
> > Dimuthu Leelarathne wrote:
> > > Hi Azeez and all,
> > >
> > > When we add the org.wso2.carbon.security-SNAPSHOT.jar to the class path
> > > of a client Rampart and Rahas modules are not visible, but mercury and
> > > mex modules are visible.
> > >
> > > The the closest reason should be because there are two module.xml files
> > > inside the META-INF directory as follows.
> > >
> > > META-INF
> > > |--rahas_module.xml
> > > |
> > > |--rampart_module.xml
> > >
> > > I accept that this is a server side hack.
> > The security component will be seen as 2 Axis2 modules only within an
> > OSGi environment. This behavior is implemented in
> > org.apache.axis2.osgi.deployment.ModuleRegistry. But we cannot assume an
> > OSGi env on the client side.
> >
> > Because theoretically client
> > > and server should have identical APIs. So I would like to propose the
> > > following fix.
> > >
> > > Let's break org.wso2.carbon.security bundle into two as follows.
> > >
> > > org.wso2.carbon.security
> > > org.wso2.carbon.security.rahas
> > >
> > > The second bundle will only contain a module.xml.
> > >
> >
> > > Thank you,
> > > Dimuthu
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Carbon-dev mailing list
> > > Carbon-dev at wso2.org
> > > http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> > >
> >
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
More information about the Ds-java-dev
mailing list