Norman
Glad to hear progress is being made. Thanks for your efforts... I think
you are already helping to identify where we have made assumptions.
As regards actually contributing this code:
We are setting up an automated system (like Apache has) for you to grant
the Apache License to your works as you submit them. However, that isn't
in place right now.
So... in order to contribute your code, please fill out the WSO2
Contributor License Agreeement (CLA) and fax it to us at + 94 11 268 8454.
Alternatively if you want to fax to a US number you can fax to
1-360-485-4275.
Once we have the signed CLA then the best way to actually submit the
code is to create a new JIRA at https://wso2.org/jira/browse/REGISTRY
and then attach the patch as to the JIRA issue.
Thanks very much!
Paul
Norman Barker wrote:
Hi,
just a status update, I hit a major bug in my code when it came to
doing cascading deletes :-) I have fixed this now, and will aim to
get a working version asap.
Apologies for the delay.
Norman
On Jan 8, 2008 10:11 AM, Norman Barker <[EMAIL PROTECTED]> wrote:
Chatura,
I think you will be surprised at how much JDBCRegistry leans on
UserManager and in particular the readwrite JDBC store - I tried
switching to Acegi and the code breaks because of the need for an
authorizer as well as an authenticator - I will detail more in the
JIRA.
I am working through ORMRegistry now with a test suite - hopefully
have something for comment later on today.
Norman
On Jan 8, 2008 10:07 AM, Chathura C. Ekanayake <[EMAIL PROTECTED]> wrote:
Hi Norman,
We are using WSO2 User Manager
(http://wso2.org/projects/commons/user-manager) library for user
authentication and authorization in the Registry.
It provides an API (org.wso2.usermanager.Realm) to manage users and
permissions. So it is possible to switch the Registry persistence
implementation to ORM and still use the user manager API to handle users
and permissions. You can create an instance of the ORMRegistry and
construct a SecureRegistry instance by passing the ORMRegistry instance
to the constructor. Then the SecureRegistry will handle all
authentication and authorization work and delegate valid requests to the
ORMRegistry.
Take a look at the "public void init(ServletConfig config)" method
org.wso2.registry.servlet.RegistryServlet class for Registry
instantiation steps.
org.wso2.registry.secure.SecureRegistry is the secure registry
implementation which wraps around persistence registry impl to provide
authentication and authorization.
I will be able to comment more on this if you can attach your code as a
patch file in Registry JIRA (https://wso2.org/jira/browse/REGISTRY).
Thanks,
Chathura
Norman Barker wrote:
Hi,
I don't normally follow up to my own thread but I immediately ran into
a problem with the UserManager. I think I have worked round this now
by keeping JDBC for user authentication but there seems to be a
dependency on JDBC for the user manager access. I tried to use acegi
for spring and the authenticator class but it requires an authorizer
and in particular methods such as getAllRoles which I don't think is
compatible. What are the plans for user authentication within the
registry?
Many thanks,
Norman
On Jan 7, 2008 11:16 AM, Norman Barker <[EMAIL PROTECTED]> wrote:
Hi,
I have written the initial ORMRegistry now using Spring JPA and
Hibernate (though it should port to OpenJPA etc.) - to be able to test
it out it is probably easiest to use a download of JBoss. How do I
get this code into the Registry SVN (or JIRA)?
Also I would really like to test this out before submitting it, is
there a page describing the complete protocol for the registry and is
it possible to test the registry using cURL?
Personally I think the code now looks a lot cleaner, and all the
database crud (excuse the pun) is taken away.
Many thanks,
Norman
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair
Office: +1 646 290 8050
Cell: +44 798 447 4618
blog: http://pzf.fremantle.org
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev