Open Bug 62640 Opened 24 years ago Updated 2 months ago

Improving the MsgIncomingServer interface for authentication state

Categories

(MailNews Core :: Networking, defect)

defect

Tracking

(Not tracked)

People

(Reporter: justin, Unassigned)

References

Details

(Keywords: good-first-bug, Whiteboard: [patch-love])

Attachments

(2 files)

Both the POP and IMAP code had separate interfaces for setting and querying the authentication state of the msg server. This patch makes the attribute "authenticated" accessible from the nsIMsgIncomingServer interface, removes the old implementations from the POP and IMAP code, and makes everything use the new attribute on the generic interface. This allows for future extensions (such as X-Sender) to cleanly (and generically) access the authentication state, without requiring special code to deal with each incoming server's implementation.
Blocks: 27191
Sounds good, putterman, sspitzer, mscott?
adding patch keyword
Keywords: patch
Marking NEW so someone can take a look at this patch.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Improving the MsgIncomingServer interface for authentication state → [PATCH] Improving the MsgIncomingServer interface for authentication state
Product: MailNews → Core
Seems valid enough to me. Bienvenu?
Assignee: mscott → nobody
QA Contact: esther → mailnews.networking
Summary: [PATCH] Improving the MsgIncomingServer interface for authentication state → Improving the MsgIncomingServer interface for authentication state
yeah, seems valid. I doubt the patch still applies, but the idea should work.
Product: Core → MailNews Core

Patch still relevant?

Flags: needinfo?(mkmelin+mozilla)
Priority: P3 → --

Yes. Just needs someone to dust off the patch.

Flags: needinfo?(mkmelin+mozilla)
Keywords: good-first-bug
Whiteboard: [patch-love]
Assignee: nobody → lilian.braud
Status: NEW → ASSIGNED

Thanks lilian. I have changed the review request to Magnus

Severity: minor → S3

(In reply to justin from comment #0)

Both the POP and IMAP code had separate interfaces for setting and querying
the
authentication state of the msg server. This patch makes the attribute
"authenticated" accessible from the nsIMsgIncomingServer interface, removes
the
old implementations from the POP and IMAP code, and makes everything use the
new
attribute on the generic interface.

This allows for future extensions (such as X-Sender) to cleanly (and
generically) access the authentication state, without requiring special code
to
deal with each incoming server's implementation.

Magnus wrote the phab, "not sure it [the patch] is wanted if there is no clear use case."

Is comment 0 the use case you are referring to?

Flags: needinfo?(mkmelin+mozilla)

I guess it would be a small improvement yes.

Assignee: lilian.braud → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(mkmelin+mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: