I was thinking that we could use Author to provide a password because this is boring to always have to type it.

Stef

Le 19/2/15 03:15, Sean P. DeNigris a écrit :
Fix in inbox:
SLICE-Issue-14959-MC-Hook-for-Default-Credentials-SeanDeNigris.1

When creating a repo in the MC Browser, it would be great to pre-populate
the user and password fields.

Thus, we declare a CredentialSource role collaborating with MCHttpRepository
and subclasses. The in-kernel default is a no-op Null object, but users can
install (via MCHttpRepository class>>#credentialSource:) any object that
responds to #defaultUserFor: and #defaultPasswordFor:

I'd like to apply this to Gofer, too, but I found a big switch statement in
ZnUrl>>#mcRepositoryAsUser:withPassword: and now my head hurts ;)

Anyway maybe this will spur discussion...



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/FIX-Maybe-Issue-14959-MC-Hook-for-Default-Credentials-tp4806424.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.




Reply via email to