Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 458 invoked from network); 16 Sep 2003 20:22:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Sep 2003 20:22:50 -0000 Received: (qmail 23525 invoked by uid 500); 16 Sep 2003 20:22:25 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 23462 invoked by uid 500); 16 Sep 2003 20:22:24 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 23396 invoked from network); 16 Sep 2003 20:22:24 -0000 Received: from unknown (HELO dsl-217-155-97-61.zen.co.uk) (217.155.97.60) by daedalus.apache.org with SMTP; 16 Sep 2003 20:22:24 -0000 Received: from apple.int.bandlem.com ([10.0.0.20] helo=ioshq.com) by dsl-217-155-97-61.zen.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 19zMLF-0004yy-00 for ; Tue, 16 Sep 2003 21:22:29 +0100 Date: Tue, 16 Sep 2003 21:22:35 +0100 Subject: Re: Status: JavaMail API implementation now at Alpha quality Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Alex Blewitt To: geronimo-dev@incubator.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <000001c37c8e$25ce6770$75493d80@mkurjano> Message-Id: <82183DE5-E883-11D7-AFD2-0003934D3EA4@ioshq.com> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tuesday, Sep 16, 2003, at 21:07 Europe/London, Matt Kurjanowicz wrote: > As far as packaging external classes, I think it very appropriate, as > long as we say *what* we are including. It's our implementation of the > API, and as long as it's up to Spec, it doesn't matter what's going on > behind the scenes - that's just abstraction and is of no consequence to > the end-user. If JavaMail is ever spun out to a different API, then the exceptions might need to be redressed (or at the least, packed with the JavaMail API). But whilst it's here, I don't see a problem. > One question I do have: > How would it be good to implement the > requestPasswordAuthentication(...) > method in the javax.mail.Store class? The javadoc says to prompt for a > username and password in a fairly standard way, but how does that fit > in > to the Server? Would it be a good idea to use a standard System.out > and > System.in to read the username and password? This still isn't implemented yet -- I've yet to work on the password authentication parts. It's usually expected that the uid/password will be provided with the call to connect in the first place; if it is, then requestPasswordAuthentication will never be called. It's only called when there isn't one (or it's wrong). However, what would be good is finding whether we're running in a GUI -- can we use anything to detect if we are headless? Alex.