hi, So I just took a look at a few orchard modules, I have the OpenAuth module open right now, but its a lot of code to go through so I still haven't understood one crucial thing here.
How do I really override IAuthenticationSerivice? Do I just implement it in a class with IDependency and AutoFac takes care of everything else, or is there a config or some code I have to write? My question : where/how do I tell orchard.. .use my class instead of the inbuilt one. (Detail: What I intend to do in the logic is call a REST service with the username and password and authenticate there) Thanks! ---------- Forwarded message ---------- From: Bertrand Le Roy <[email protected]> Date: Thu, Mar 3, 2011 at 12:20 AM Subject: RE: mashing orchard with my LOB app To: Gideon D'souza <[email protected]> Let me know how that goes. *From:* Gideon D'souza [mailto:[email protected]] *Sent:* Wednesday, March 02, 2011 6:59 AM *To:* Bertrand Le Roy *Subject:* Re: mashing orchard with my LOB app Thanks so much bertrand, will start off on overriding orchard authentication sometime next week. On Tue, Mar 1, 2011 at 1:59 AM, Bertrand Le Roy < [email protected]> wrote: I suppose it should: take a look at the Orchard.Packaging module: the PackagingSourceManager class is calling into GalleryFeedContext, which is an oData service if I’m not mistaken. *From:* Gideon D'souza [mailto:[email protected]] *Sent:* Monday, February 28, 2011 12:12 PM *To:* [email protected] *Subject:* Re: mashing orchard with my LOB app What about adding an odata service? I would just create a module like the hello world module and put there svc file in that project, would it work? On Tue, Mar 1, 2011 at 1:00 AM, Bertrand Le Roy < [email protected]> wrote: This sounds all feasible, especially if don’t need to merge the existing code too deeply with Orchard. There are quite a few people who have looked into integrating their own authentication into Orchard so if you ask this question on the forums, or if people on the list want to share their experience, or if you look at gallery modules such as OpenAuth, I’m sure you’ll get some good answers. My own answer would be that yes it is possible but others can show you exactly how. As for messaging, yes, e-mail is just a channel and you can implement your own: it’s been designed this way. *From:* Gideon D'souza [mailto:[email protected]] *Sent:* Monday, February 28, 2011 8:50 AM *To:* [email protected] *Subject:* mashing orchard with my LOB app Hi, So I've been using orchard for my smaller websites, I've only had time to peer into the source for a few modules but haven't really studied much. Would really like to study much more (maybe make a module) when I have more time. I've been working on an LOB app for a while, its 2 Silverlight apps(which do business intelligence) and a desktop app, and an *asp.net mvc3/razor *website. (Its a financial advice management platform) It runs in a country wide protected LAN network (no internet) The website serves as a kind of admin panel for the other modules, it hosts the two SL apps, other than that, its primarily data oriented where there are forms for admins to create different kind of users, for people to add a customer lead, and a customer interaction log, and a place they can change a few settings (so its all data driven) Now, my clients are looking to have a nice website for the same dept. Where they want to post articles, pages, etc about the financial advice my app delivers. Orchard fits the bill here. What I'm thinking however is to mash my apps with orchard! So the admins have one place to manage the data for the finance platform and the content for the site. Mostly I have an XXData.dll layer with just IRepository<T_EF4_Entity> classes. There are two pages to host the Silverlight apps, *and a few WCF Data service endpoints* that the desktop and SL apps need. Other than that, its all just data entry forms that talk to the IRepo's and do CRUD operations. Do you guys think it would make sense to merge this into orchard? there isn't much code to re-write, eventually they want to grow the system, where they can have quizzes, and forums etc etc Will it be possible to have a module that talks to my Data.dll and exposes my EF4 entities over an odata service? For the first few iterations, until the whole platform is baked, the only thing I do have to do is override the login/authentication service, will this be difficult, since my users have groups. which themselves have permissions, how would this cross over into the orchard roles? The admins should be able to make users from the financial platform end and orchard should authenticate them correctly, I understand orchard has the IAuthService, but how would I get orchard to understand *my own inbuilt roles.* Also, is it possible to override the messaging services? Email is terribly and slow here but they have given me the api for the bank's text message system, so most alerts are delivered this way. Thanks so much. Gideon --- You are currently subscribed to orchard-discuss as: [email protected]. To unsubscribe send a blank email to [email protected]. --- You are currently subscribed to orchard-discuss as: [email protected]. To unsubscribe send a blank email to [email protected]. --- You are currently subscribed to orchard-discuss as: [email protected]. To unsubscribe send a blank email to [email protected]. --- You are currently subscribed to orchard-discuss as: [email protected]. To unsubscribe send a blank email to [email protected]. --- You are currently subscribed to orchard-discuss as: [email protected]. To unsubscribe send a blank email to [email protected].
