[Mono-dev] [PATCH] Fix for Membership.{Encrypt, Decrypt}Password
Marek Habersack
grendel at caudium.net
Tue Nov 21 16:04:46 EST 2006
On Tue, 21 Nov 2006 14:16:49 -0500, Chris Toshok <toshok at ximian.com>
scribbled:
> On Tue, 2006-11-21 at 13:12 +0100, Marek Habersack wrote:
> > On Tue, 21 Nov 2006 03:54:40 -0800, "Konstantin Triger"
> > <kostat at mainsoft.com> scribbled:
> >
> > > Hi Marek,
> > Hey Konstantin,
> >
> > > You are actually adding 2 protected properties, thus changing the
> > Yeah, I know, but it seemed to be the simplest way to go regarding
> > SqlMembershipProvider (and possible other future providers) without
> > exposing the properties to the rest of the assembly. But if you
> > think it would be ok to make them internal only, that's fine.
>
> It's not an option of what is simplest - we can't change the public
> api. also, your worry about not exposing the properties to the rest
> of the assembly is incorrect. "protected internal" doesn't mean
> protected AND internal (i.e. only available to subclasses in the same
> assembly). it means protected OR internal (i.e. available to
> subclasses and to the rest of the assembly). So those properties are
> already exposed to the rest of the assembly.
True, haven't thought it over well enough.
> > > public interface (BTW, Algorithm is never used).
> > Yes, I added it for "future use" - for the providers that might
> > want to use it.
>
> since it's not a public api, they can't in a portable way.
I meant it for possible providers that would be included with Mono in
the future, not 3rd-party.
best regards,
marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061121/0edcaf54/attachment.bin
More information about the Mono-devel-list
mailing list