Skip to main content
14 events
when toggle format what by license comment
Jun 16, 2020 at 10:01 history edited CommunityBot
Commonmark migration
Oct 23, 2018 at 10:35 vote accept Creepin
Oct 15, 2018 at 22:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Sep 15, 2018 at 21:42 answer added FranMowinckel timeline score: 1
Sep 15, 2018 at 10:19 history edited Christophe CC BY-SA 4.0
deleted 19 characters in body; edited tags; edited title
Sep 15, 2018 at 6:50 comment added Creepin @KristianH yes, an external reason can change that state, but this is just a special requirement of some systems, or better to say an additional requirement to the normal behaviour
Sep 15, 2018 at 6:42 history edited Creepin CC BY-SA 4.0
Updated an exemplary decorator
Sep 14, 2018 at 23:44 comment added Kristian H Can an external reason change the state from logged in to not logged in / disconnected? If so, the state query should be exposed so the client can initiate a reconnect.
Sep 14, 2018 at 22:39 answer added Christophe timeline score: 0
Sep 14, 2018 at 20:35 comment added Creepin Thanks for the hint, I edited the spelling. With "force the login" I mean to do the login procedure again, not logging out before. It should just behave if it was logged out. In normal circumstances the LoginService behaves like it should and no decorator is required. But in some of our systems we have to take resets into consideration. Is decorator the wrong approach and I should instead implement an additional ILoginService for these special circumstances?
Sep 14, 2018 at 20:34 history edited Creepin CC BY-SA 4.0
Spelling
Sep 14, 2018 at 20:08 comment added Robert Harvey When you say "force the login" does that mean you want the system to log out and then log back in?
Sep 14, 2018 at 20:04 comment added Robert Harvey I'm less concerned about fulfilling the Single Responsibility Principle than I am about satisfying your objectives. Does your approach adequately satisfy your objectives without the decorator?
Sep 14, 2018 at 19:53 history asked Creepin CC BY-SA 4.0