Sub application within umbraco –managed in the umbraco CMS – Umbraco security integrationAdd to My Brief

Josh Doolan | 4/07/2011

We here at wiliam had the use case of integrating an asp.net MVC 3 sub applciation that was required to be managed through the same portal i.e Umbraco CMS.

This involved overcoming the obvious hurdle “Security Integration”.

Firstly we deployed the MVC application in the plugins folder and created it as a sub application in IIS.

 

 

 

 

 

 

 

 

 

 

 

We had config inheritance issues so we employed the location tags inheritInChildApplications='false' in the root webconfig to overcome this.

 

 

We integrated the access in umbraco by creating a separate plugin following the umbraco plugin pattern with the root menu node calling the sub application in the right side iframe in umbraco.

 

 

We integrated the security by creating a http module that is referenced by the subapplication that checked the umbraco user context to see if the user was logged in and created our own session for the login storage. The validation happens in Application_PostAcquireRequestState So that session is accessible

 

We validated the user by checking the umbraco user login table against the logout.umbracoUserContextID which Is a reference to the umbraco library.

 

 

We shared the umbraco style sheet with the sub application to get it somewhat looking similar.

 

 

 

 

 

Done!

 

tags: Web DevelopmentUmbraco

Interested in learning more?

Wiliam is a leading supplier of web solutions and can provide expert advice to assist your business or organisation online.

Make enquiry   Request quotation

Comments

Share this page

Print this page Email this page to a friend Bookmark and Share

No Brief added yet.

My Brief results-driven approach emphasises a commitment to our clients needs through strategic analysis and best-practice.

Add to My Brief

Click on this icon to save item into My Brief. Retrieve, email and print

Drag & Drop

Drag & drop any iten with this icon into My Brief. Retrieve, email and print

Search Blogs