You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by David Nuescheler <da...@gmail.com> on 2005/02/10 16:28:23 UTC

Re: jaas login module (Modified by Suhail M. Ahmed)

hi suhail,

thanks a lot for your email.
> I have attached my first run at Jaas based authentication. I have
> attached a zip file containing the implementation in authenticate.zip.
> This archive also contains the custom nodetype that I needed to to
> store a user data in the repository. I have also attached a patch for
> RepositoryImpl.java where I have changed the login method to use the
> login module. Currently is is necessary to run the system first with
> the old RepositoryImpl to add the user and then with the patched
> version along with the new classes. This situation arises since I have
> not figured how  to configure workspaces with some default data. The
> API specifies that authentication be against workspaces so I presume,
> authentication data nodes be stored either locally with each workspace
> or as reference nodes at each workspace, I'd like to know what would be
> best. I personally would like the second option since I feel that
> security aught to be centralized.  The Main class should provide you
> with enough information about how I have been running things. Awaiting
> some feedback.

inspired by your contribution we will try to 
commit something along the lines of what you 
submitted in the coming days.

especially with respect to the repositoryimpl 
extension that you suggested.

it would be great if you could check if the 
extensions suit your needs and give some 
feedback.

thanks a lot.
regards,
david

----------------------------------------------------------------------
standardize your content-repository !
                               http://www.jcp.org/en/jsr/detail?id=170
---------------------------------------< david.nuescheler@day.com >---

This message is a private communication. If you are not the intended
recipient, please do not read, copy, or use it, and do not disclose it
to others. Please notify the sender of the delivery error by replying
to this message, and then delete it from your system. Thank you.

The sender does not assume any liability for timely, trouble free,
complete, virus free, secure, error free or uninterrupted arrival of
this e-mail. For verification please request a hard copy version.


mailto:david.nuescheler@day.com
http://www.day.com

David Nuescheler
Chief Technology Officer
Day Software AG
Barfuesserplatz 6 / Postfach
4001 Basel
Switzerland

T  41 61 226 98 98
F  41 61 226 98 97

Re: jaas login module (Modified by Suhail M. Ahmed)

Posted by David Nuescheler <da...@gmail.com>.
> Thanks for you feedback. I will gladly test out your work. Just let me
> know when you submit the changes. I have since moved on to prototyping
> permissions. I will have something tangible early next week. I am also
> writing up a document on how JackRabbit is configured. Whilst doing the
> configuration document, I figured I could deepen my understanding of
> node type definitions by trying to define node type definition for the
> configuration itself. I will peruse that line of enquiry once I have
> completed my An'A prototypes. Its back to work for me.
cool, thats great to hear.
i will keep you posted.

regards,
david

Re: jaas login module (Modified by Suhail M. Ahmed)

Posted by "Suhail M. Ahmed" <il...@mac.com>.
Hi David,

Thanks for you feedback. I will gladly test out your work. Just let me 
know when you submit the changes. I have since moved on to prototyping 
permissions. I will have something tangible early next week. I am also 
writing up a document on how JackRabbit is configured. Whilst doing the 
configuration document, I figured I could deepen my understanding of 
node type definitions by trying to define node type definition for the 
configuration itself. I will peruse that line of enquiry once I have 
completed my An'A prototypes. Its back to work for me.

Regards
Suhail



On Feb 10, 2005, at 4:28 PM, David Nuescheler wrote:

> hi suhail,
>
> thanks a lot for your email.
>> I have attached my first run at Jaas based authentication. I have
>> attached a zip file containing the implementation in authenticate.zip.
>> This archive also contains the custom nodetype that I needed to to
>> store a user data in the repository. I have also attached a patch for
>> RepositoryImpl.java where I have changed the login method to use the
>> login module. Currently is is necessary to run the system first with
>> the old RepositoryImpl to add the user and then with the patched
>> version along with the new classes. This situation arises since I have
>> not figured how  to configure workspaces with some default data. The
>> API specifies that authentication be against workspaces so I presume,
>> authentication data nodes be stored either locally with each workspace
>> or as reference nodes at each workspace, I'd like to know what would 
>> be
>> best. I personally would like the second option since I feel that
>> security aught to be centralized.  The Main class should provide you
>> with enough information about how I have been running things. Awaiting
>> some feedback.
>
> inspired by your contribution we will try to
> commit something along the lines of what you
> submitted in the coming days.
>
> especially with respect to the repositoryimpl
> extension that you suggested.
>
> it would be great if you could check if the
> extensions suit your needs and give some
> feedback.
>
> thanks a lot.
> regards,
> david
>
> ----------------------------------------------------------------------
> standardize your content-repository !
>                                http://www.jcp.org/en/jsr/detail?id=170
> ---------------------------------------< david.nuescheler@day.com >---
>
> This message is a private communication. If you are not the intended
> recipient, please do not read, copy, or use it, and do not disclose it
> to others. Please notify the sender of the delivery error by replying
> to this message, and then delete it from your system. Thank you.
>
> The sender does not assume any liability for timely, trouble free,
> complete, virus free, secure, error free or uninterrupted arrival of
> this e-mail. For verification please request a hard copy version.
>
>
> mailto:david.nuescheler@day.com
> http://www.day.com
>
> David Nuescheler
> Chief Technology Officer
> Day Software AG
> Barfuesserplatz 6 / Postfach
> 4001 Basel
> Switzerland
>
> T  41 61 226 98 98
> F  41 61 226 98 97
>