Securing Multiple Web Applications

Top  Previous  Next

MoreMotion Security System is designed to be shared by the web applications that are hosted on the same application server and configured as contexts.  Imagine that you have two applications, i.e. HR and CRM, that are deployed on the same application server.

http://www.mycomp.com/hr

http://www.mycomp.com/crm

and you want to use the same security domain for the both of the applications. When a user logs in to the security domain from one application you want him to be accepted as logged in by the other one as well.

To achieve this just set security domain name as, i.e.,  "main" for the both of the applications. Additionally you should deploy the component element "ContextSwitch" to setup a link from one context to the other one.

ContextSwitch Element

SwitchContext

Properties

Context Path

The context path of the target web application to be linked. To link to the default context leave this property blank.

Page Name

The name of the page in the other web application to be linked