Re: IllegalArgumentException with invalid UUID

2006-07-02 Thread Tobias Bocanegra
why? it's an illegal argument, since the uuid format is not valid. i disagree to throw another exception. i suggest to add the IllegalArgumentException to the spec/javadoc. regards, toby On 6/30/06, Jukka Zitting [EMAIL PROTECTED] wrote: Hi, On 6/30/06, David Kennedy [EMAIL PROTECTED] wrote:

Re: IllegalArgumentException with invalid UUID

2006-07-02 Thread Jukka Zitting
Hi, On 7/2/06, Tobias Bocanegra [EMAIL PROTECTED] wrote: why? it's an illegal argument, since the uuid format is not valid. i disagree to throw another exception. i suggest to add the IllegalArgumentException to the spec/javadoc. The spec never references the UUID specification or defines the

Re: IllegalArgumentException with invalid UUID

2006-07-02 Thread Nicolas Toper
I agree wsith Jukka. It makes sense. On 7/2/06, Jukka Zitting [EMAIL PROTECTED] wrote: Hi, On 7/2/06, Tobias Bocanegra [EMAIL PROTECTED] wrote: why? it's an illegal argument, since the uuid format is not valid. i disagree to throw another exception. i suggest to add the

Re: implementing AccessManager

2006-07-02 Thread Torgeir Veimo
Pavel Jbanov wrote: Hi, I've just started with Jackrabbit and currently trying to get some security going. I'm trying to implement my own AccessManager. I took SimpleAccessManager as a base and following the @todo comments. I'm also going to implement (or hopefully find) a JAAS LoginModule to

[jira] Commented: (JCR-442) Implement a backup tool

2006-07-02 Thread Jukka Zitting (JIRA)
[ http://issues.apache.org/jira/browse/JCR-442?page=comments#action_12418868 ] Jukka Zitting commented on JCR-442: --- Thanks for the update, looks good. There's some small issues, but I think it's better to let the source evolve instead of fixing the

Re: [jira] Commented: (JCR-442) Implement a backup tool

2006-07-02 Thread Nicolas Toper
No problem. I'll do it ASAP. On the naming issue, I agree with you totally. Just wasn't sure on this (see discussion about naming issue) On 7/2/06, Jukka Zitting (JIRA) [EMAIL PROTECTED] wrote: [ http://issues.apache.org/jira/browse/JCR-442?page=comments#action_12418868] Jukka Zitting

[jira] Updated: (JCR-442) Implement a backup tool

2006-07-02 Thread Nicolas Toper (JIRA)
[ http://issues.apache.org/jira/browse/JCR-442?page=all ] Nicolas Toper updated JCR-442: -- Attachment: patch.txt ConfigBackup is now called BackupConfig. It is my first accepted patch on Apache Jackrabbit :) Implement a backup tool

[jira] Updated: (JCR-472) Wrap IllegalArgumentException from UUID when bad ID passed to Session.getNodeByUUID

2006-07-02 Thread Jukka Zitting (JIRA)
[ http://issues.apache.org/jira/browse/JCR-472?page=all ] Jukka Zitting updated JCR-472: -- Version: (was: 1.1) Assign To: Jukka Zitting Wrap IllegalArgumentException from UUID when bad ID passed to Session.getNodeByUUID

[jira] Updated: (JCR-472) Wrap IllegalArgumentException from UUID when bad ID passed to Session.getNodeByUUID

2006-07-02 Thread Jukka Zitting (JIRA)
[ http://issues.apache.org/jira/browse/JCR-472?page=all ] Jukka Zitting updated JCR-472: -- Attachment: invalid-uuid.r418656.patch Attached a proposed fix for this. Wrap IllegalArgumentException from UUID when bad ID passed to Session.getNodeByUUID