You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Andy Depue <an...@marathon-man.com> on 2005/02/16 23:15:12 UTC

Rudimentary principal store DAO

I have implemented a rudimentary read only principal store that delegates 
principal information access to a simplified PrincipalStoreDAO.  I say 
rudimentary because it makes some assumptions on user information structure 
that are specific to our needs, and might be limiting to others.  I have also 
created an implementation of the principal store that can load the DAO from a 
Spring application context (I also have a servlet context listener that can 
expose the Spring application context for the web application to the 
principal store).  Further, I have created a servlet filter that integrates 
Acegi authentication with Slide's WebDAV servlet.  I must admit that the cart 
got before the horse: these classes started out as a prototype proof of 
concept, and so I do not yet have unit tests.
I'm willing to donate these classes back to the Slide project if they are 
considered useful.

   - Andy

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Rudimentary principal store DAO

Posted by Carlos Villegas <ca...@uniscope.jp>.
Please create a bug/issue in Bugzilla and attach your sources there. 
That's the standard way for committers to review your contributions.

Thanks,

Carlos

Andy Depue wrote:
> Is it a bad idea to post the sources to the list?
> 
>   - Andy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Rudimentary principal store DAO

Posted by Andy Depue <an...@marathon-man.com>.
Is it a bad idea to post the sources to the list?

  - Andy

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Rudimentary principal store DAO

Posted by Brian Moseley <bc...@osafoundation.org>.
Andy Depue wrote:

>  I've created an entry in Bugzilla containing the code and comments on its 
> use.  The entry is here: 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=33639
>   Please be sure to read all comments on the entry and be sure to read all 
> JavaDocs.  If I've forgotten something, or if anything in unclear, let me 
> know!

thanks! at first glance it looks very useful to me.

i need to spend some time getting familiar with acegi so 
that i understand how it authenticates (and in fact if/how 
it handles single signon for multiple webapps).

i also need to read more about principal stores, and indeed 
webdav in general, to figure out the right way to handle 
users/roles/groups/acls/permissions/etc for my project.

i can tell this is going to be helpful in focusing my 
research. hopefully very soon i'll be able to write up a dao 
implementation and try it out.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Rudimentary principal store DAO

Posted by Andy Depue <an...@marathon-man.com>.
Brian,
 I've created an entry in Bugzilla containing the code and comments on its 
use.  The entry is here: 
http://issues.apache.org/bugzilla/show_bug.cgi?id=33639
  Please be sure to read all comments on the entry and be sure to read all 
JavaDocs.  If I've forgotten something, or if anything in unclear, let me 
know!

  - Andy

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Rudimentary principal store DAO

Posted by Brian Moseley <bc...@osafoundation.org>.
Andy Depue wrote:
> I have implemented a rudimentary read only principal store that delegates 
> principal information access to a simplified PrincipalStoreDAO.  I say 
> rudimentary because it makes some assumptions on user information structure 
> that are specific to our needs, and might be limiting to others.  I have also 
> created an implementation of the principal store that can load the DAO from a 
> Spring application context (I also have a servlet context listener that can 
> expose the Spring application context for the web application to the 
> principal store).  Further, I have created a servlet filter that integrates 
> Acegi authentication with Slide's WebDAV servlet.  I must admit that the cart 
> got before the horse: these classes started out as a prototype proof of 
> concept, and so I do not yet have unit tests.
> I'm willing to donate these classes back to the Slide project if they are 
> considered useful.

whether or not the slide project accepts them, i'd certainly find them 
useful, and in the short term. i need to add approximately the same 
functionality to my project in the next couple of weeks.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org