[Opensource] SingleDBUserInfo removal/deprecation?

larry hamel expresso at codeguild.com
Sat Jan 18 07:18:39 PST 2003


hi Mike,

there seems to be some code duplication between SingleDBUserInfo and DefaultUserInfo, and there's no class comment on it at all.  I don't understand it yet.

is this a candidate for refactoring?  maybe a subclass of DefaultUserInfo, or a common superclass between the two?  all the UserInfo's might be candidates for more clear indication of their "component-ness" in the sense that they could inhabit a package like ...core.userinfo..., with the user picking the one they want.

can you add a comment on the class for to explain how it provides the functionality you mentioned?  

larry

At 11:56 AM 1/16/2003, Michael Rimov wrote:
>At 10:52 PM 1/15/2003 -0800, you wrote:
>>public class SingleDBUserInfo
>>
>>seems to have no uses in the expresso framework.
>>
>>any reason not to remove, or at least deprecate it?
>
>Actually, believe it or not, it is used :)
>
>JCorp uses it for providing multiple data contexts with one security context.  IE with your main password you can log into both the demo database as well as the default database.
>
>HTH!
>
>                                                -Mike
>
>
>
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list