Re: Compiling in Eclipse / in-memory LDAP server

2005-05-17 Thread Alex Karasulu
Stephan Schwab wrote: Hi! Welcome! I just joined this mailing list and am unsure whether my first message made it. The distribution of messages seems to be a bit slow today. Yah email all around seems to be slow today. Some say its due to viruses. Can somebody send me .classpath files for Ecli

Compiling in Eclipse / in-memory LDAP server

2005-05-17 Thread Stephan Schwab
Hi! I just joined this mailing list and am unsure whether my first message made it. The distribution of messages seems to be a bit slow today. Can somebody send me .classpath files for Eclipse? What's the status of the in-memory features? I browsed through the source and found you are curren

[jira] Commented: (DIRMINA-41) Memory Leaks

2005-05-17 Thread Alex Karasulu (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-41?page=comments#action_65638 ] Alex Karasulu commented on DIRMINA-41: -- I like the idea of a marker. You can then check isManaged() to figure out if you have to handle the release. It's a fairly qui

Re: Thread safe ProtocolSession

2005-05-17 Thread Trustin Lee
Hi Horia, 2005/5/18, Horia Muntean <[EMAIL PROTECTED]>: > Is Mina's ProtocolSession thread safe? Yes > > Suppose one has 2 threads that call session.write("hello"). What is the > result of such situation? You can. :) If not, please let me know. It must be a bug! Thanks, Trustin -- what we

[apacheds] ACL implementation options (was ACLs questions)

2005-05-17 Thread Alex Karasulu
Hello, I thought I'd start a new thread since some of these ideas transcend what we were talking about. Also it helps to hit that reset button sometimes :). Just to give you all some background I had a long conversation with Noel about approaching ACLs in a fashion where any approach could ev

[jira] Reopened: (DIRMINA-41) Memory Leaks

2005-05-17 Thread Trustin Lee (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-41?page=all ] Trustin Lee reopened DIRMINA-41: You're right. If users keep wrapping nio buffers, it becomes a severe memory leak. We'll have to add some property like 'managed' so that users disable MIN

[jira] Commented: (DIRMINA-26) StartTLS

2005-05-17 Thread David Boreham (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-26?page=comments#action_65637 ] David Boreham commented on DIRMINA-26: -- Agree. LDAP Start TLS would be implemented inside the LDAP protocol code. However, there may be an implication in MINA : sometim

Trying out Eclipse; SVN plugin dependencies

2005-05-17 Thread Jim Yang
Taken from this page: http://www.caimito.net/pebble/ 2005/05/16/1116294478672.html Trying out Eclipse; SVN plugin dependencies Seems like the Apache Directory developers are using Eclipse as their development environment. After browsing around their Wiki a little bit I decided to compile the

Re: ACLs questions

2005-05-17 Thread Alex Karasulu
Tony Blanchard wrote: Please take a look at : http://www.blacksheepnetworks.com/security/resources/securely-implementing-ldap.html Nice link ... has a few links to other articles that are great reading ... I recommend it for everyone. I must have read these 5 times already. With my short memor

[jira] Closed: (DIRMINA-26) StartTLS

2005-05-17 Thread Trustin Lee (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-26?page=all ] Trustin Lee closed DIRMINA-26: -- Resolution: Fixed Fix Version: (was: 0.9) Thanks for the heads up! :) > StartTLS > > > Key: DIRMINA-26 > URL: http://issue

[jira] Commented: (DIRMINA-40) Filter API needs callback for enabled notification

2005-05-17 Thread Trustin Lee (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-40?page=comments#action_65629 ] Trustin Lee commented on DIRMINA-40: There was init() and destroy() method long time ago. But I removed them because a filter instances can be used by more than one ses

.classpath files for Eclipse?

2005-05-17 Thread Stephan Schwab
Hello, a few days ago Emmanuel Lecharny offered his .classpath files. I want to use Eclipse as well. As I am just starting out with Eclipse, those files would be of great help for me too. Maybe Emmanuel is reading this... Stephan

Re: ACLs questions

2005-05-17 Thread Alex Karasulu
Tony Blanchard wrote: I have no idea on how to do those things now but a thing that I can do is to point out the security requirement that I told about in a mail on this thread. A duplication of the tree should duplicate ACLs. Exactly! It has to otherwise replication becomes a nightmare. This

[jira] Updated: (DIRLDAP-23) DnParser throws IOException in Java 5

2005-05-17 Thread elliot schlegelmilch (JIRA)
[ http://issues.apache.org/jira/browse/DIRLDAP-23?page=all ] elliot schlegelmilch updated DIRLDAP-23: Attachment: random search bug.txt I too get this error, however under different circumstances. When the server is idle for an amount of time (5

Re: [sitedocs] Permission problems

2005-05-17 Thread Alex Karasulu
Trustin Lee wrote: Hey Alex, Permissions of some MINA site file is 0644, so I cannot deploy the whole site. Could you please take care of it? Could not find anything out there. Is this due to staging area or to live published site? I massaged some files regardless to see if I can fix it rega

Is MINA's ProtocolSession thread safe?

2005-05-17 Thread Horia Muntean
Is Mina's ProtocolSession thread safe? Suppose one has 2 threads that call session.write("hello"). What is the result of such situation? Regards, Horia

[jira] Commented: (DIRMINA-41) Memory Leaks

2005-05-17 Thread David Boreham (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-41?page=comments#action_65610 ] David Boreham commented on DIRMINA-41: -- The code you asked about is semantically the same as the original, it was inadvertantly left in the patch. > Memory Leaks > --

[jira] Commented: (DIRMINA-41) Memory Leaks

2005-05-17 Thread David Boreham (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-41?page=comments#action_65612 ] David Boreham commented on DIRMINA-41: -- So, there's another leak in this same file, which has proven harder to fix. I think it needs Trustin's brain to figure out the co

Thread safe ProtocolSession

2005-05-17 Thread Horia Muntean
Is Mina's ProtocolSession thread safe? Suppose one has 2 threads that call session.write("hello"). What is the result of such situation? Regards, Horia

Re: [MINA] Where do i store a Principal?

2005-05-17 Thread Alex Karasulu
Trustin Lee wrote: AFAIK, LdapPricipal and other stuffs are stored in ThreadLocal not in MINA session attribute map. It is because ApacheDS can run without MINA (embeded only mode). We could let ApacheDS store its session data into MINA session attribute map using in-VM pipe. WDYT, Alex? Don'

Re: [sitedocs] Permission problems

2005-05-17 Thread Trustin Lee
I removed files with 0644 and republished. It works great! No worries. Thanks, Trustin 2005/5/17, Trustin Lee <[EMAIL PROTECTED]>: > Hey Alex, > > Permissions of some MINA site file is 0644, so I cannot deploy the > whole site. Could you please take care of it? > > Thanks, > Trustin > -- > w

[jira] Created: (DIRMINA-43) SSLFilter doesn't work if added after sessionOpened() is fired.

2005-05-17 Thread Trustin Lee (JIRA)
SSLFilter doesn't work if added after sessionOpened() is fired. --- Key: DIRMINA-43 URL: http://issues.apache.org/jira/browse/DIRMINA-43 Project: Directory MINA Type: Bug Versions: 0.7 Reporter:

[jira] Commented: (DIRMINA-40) Filter API needs callback for enabled notification

2005-05-17 Thread Trustin Lee (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-40?page=comments#action_65586 ] Trustin Lee commented on DIRMINA-40: Please look at DIRMINA-43. I forgot to call createSSLSessionHandler instead of getSSLSessionHandler. > Filter API needs callback f

[jira] Commented: (DIRMINA-26) StartTLS

2005-05-17 Thread Vinod Panicker (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-26?page=comments#action_65595 ] Vinod Panicker commented on DIRMINA-26: --- This is a completely protocol specific feature. STARTTLS has also become synonymous with "enabling TLS over an existing IP co

Re: ACLs questions

2005-05-17 Thread Tony Blanchard
I have no idea on  how to do those things now but a thing that I can do is to point out the security requirement  that I told about in a mail on this thread. A duplication of the tree should duplicate ACLs. So subentries look better for this. Meanwhile, a duplication could also transfer a conf

[jira] Commented: (DIRMINA-40) Filter API needs callback for enabled notification

2005-05-17 Thread Vinod Panicker (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-40?page=comments#action_65590 ] Vinod Panicker commented on DIRMINA-40: --- Your fix solves the problem. Thanks. My rationale behind having filterEnabled() and filterDisabled() was to have something l

[jira] Resolved: (DIRMINA-41) Memory Leaks

2005-05-17 Thread Trustin Lee (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-41?page=all ] Trustin Lee resolved DIRMINA-41: Resolution: Fixed Fix Version: 0.7.1 I checked in the fix. Could you review the fix and close this issue? > Memory Leaks > > >

[jira] Closed: (DIRMINA-43) SSLFilter doesn't work if added after sessionOpened() is fired.

2005-05-17 Thread Trustin Lee (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-43?page=all ] Trustin Lee closed DIRMINA-43: -- Resolution: Fixed Fixed at revision: 170518 > SSLFilter doesn't work if added after sessionOpened() is fired. > --

Re: ACLs questions

2005-05-17 Thread Tony Blanchard
Sorry first but there are some shortcuts I don't undertsand. IMO ? Alex asked me to find for some performance implications and for some weakness or strength  in ACLs. I just found now some forums threads which talked about ACLs. A short summary could be : -ACLs may not be to much coarsed grai

Re: ACLs questions

2005-05-17 Thread Tony Blanchard
Super, Health is better than everything else ! For the tests problems, here are my settings : - Win XP SP2 (+ about 1500 update downloads ;-) ) - Netbeans 4.0 with JDK 1.5 (I am interested in SSL) - Mevenide 0.5.1 for Netbeans. Stack of a test suite which failed on doDelete(s). "Testsuite: org.apac

[mina] MINA 0.7.1 is released.

2005-05-17 Thread Trustin Lee
Hi. Today I released MINA 0.7.1 after resolving buffer leakage issue thanks to Elliot. I'll deploy web site and post this news to TSS soon. Additionally, I moved trunk to branches/0.7 and branches/api_integration to trunk. Users of 0.7 stream will have to check out branches/0.7. Thanks, Trusti

[jira] Created: (DIRMINA-42) SessionManagers should manage list of sessions being managed.

2005-05-17 Thread Trustin Lee (JIRA)
SessionManagers should manage list of sessions being managed. - Key: DIRMINA-42 URL: http://issues.apache.org/jira/browse/DIRMINA-42 Project: Directory MINA Type: New Feature Versions: 0.7 Report

[jira] Commented: (DIRMINA-41) Memory Leaks

2005-05-17 Thread Trustin Lee (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-41?page=comments#action_65578 ] Trustin Lee commented on DIRMINA-41: I looked at the patch, and it looks very simple. But I have a question before I apply this patch. Please look at this part: -

[jira] Commented: (DIRMINA-40) Filter API needs callback for enabled notification

2005-05-17 Thread Trustin Lee (JIRA)
[ http://issues.apache.org/jira/browse/DIRMINA-40?page=comments#action_65582 ] Trustin Lee commented on DIRMINA-40: I modified SSLFilter to create SSLHandler at every events to resolve that issue. SSLHandler is created when SSLHandler interface is

[sitedocs] Permission problems

2005-05-17 Thread Trustin Lee
Hey Alex, Permissions of some MINA site file is 0644, so I cannot deploy the whole site. Could you please take care of it? Thanks, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/

Re: [mina] Filter design issue?

2005-05-17 Thread Trustin Lee
Hi Vinod, 2005/5/16, Vinod Panicker <[EMAIL PROTECTED]>: > Hey Trustin, > > This kinda got left in mid-air. I've added a JIRA issue over it. > Could you pls look into this? I commented some. :) > > On 4/30/05, Vinod Panicker <[EMAIL PROTECTED]> wrote: > > Hi Trustin, > > > > Another problem w

Re: ACLs questions

2005-05-17 Thread Marc Boorshtein
> X.500 subentries are recommended to store various > information for an > autonomous administrative area. The area can be for > schema, ACLs, or > collective attributes. The area of coverage for the > contained > information in the subentry is defined by the > subtree specification > which i

Re: [MINA] Where do i store a Principal?

2005-05-17 Thread Trustin Lee
Hell Ryan, 2005/5/17, Ryan Rhodes <[EMAIL PROTECTED]>: > Hello All > > I posted a lot of questions to the Netty list and Trustin was always very > helpful. I'm really excited about the directions mina is taking. It is good to see you again. :) > I extended the reverser example into a simple ch

Re: ACLs questions

2005-05-17 Thread Alex Karasulu
Tony Blanchard wrote: Hello Alex, First, hope your health is better. Thanks I'm definately back online :). I have written a new page in the Wiki as you asked me for. Great this is a start to sharing our ideas on ACLs. I think if we do this we need to think about how we can represent the ACL withi

Re: ACLs questions

2005-05-17 Thread Alex Karasulu
Marc Boorshtein wrote: 2 - What about having an "openLDAP like" simplified ACL mechanism ? I don't know I have not put enough thought to this because there are so many things standing in my way right now like implementing subentires so we can store ACLs ;). However going with their s

Re: ACLs questions

2005-05-17 Thread Marc Boorshtein
> Netscape and Sun both implemented the 'get effective > rights' part of > the drafts. Not compatible with each other though ;) > > It's proven really hard to standardize access > control features, > for various reasons: too many degrees of freedom, > nobody > with an existing implementation wants

RE: ACLs questions

2005-05-17 Thread Noel J. Bergman
Alex, I am off-line as I write this, so I cannot look at the Wiki or code, but I am wondering why we might not implement ACL schemes with interceptors of some sort, and make that whole functional area programmatically configurable. With declarative security, such as OpenLDAP, something has to imp