UNIFYNow Security

The UNIFYNow Web Component can be configured to require roles-based authorization for all users. Users are granted permissions based on their role.

Configuring Authorization

To configure authorization, open the Web.config file and make the following changes:

Inside the appSettings element in the configuration element, add the following elements:

<add key="owin:AutomaticAppStartup" value="true" />
<add key="uAuthorizeSetting" value="OpenId" />
<add key="ui:ClientId" value="{ClientId}"></add>
<add key="ui:AADInstance" value="https://login.windows.net/"></add>
<add key="ui:TenantId" value="{TenantId}"></add>
<add key="ui:PostLogoutRedirectUri" value="{PostLogoutRedirectUri}"></add>

If any elements already exist with these keys, replace them.

The above three settings should be configured as follows:

NameDescription
ClientIdThe ID of the client application representing UNIFYNow.
TenantIdThe ID of the tenant.
PostLogoutRedirectUriThe URI to redirect to after logout.

Roles

Operations on the UNIFYNow website require the user to be in one of the following four roles:

RoleDescription
ReadProvides the ability to view all pages and configuration.
WriteProvides the ability to add components, update settings, etc.
FullProvides the ability to delete components, etc.
AdminProvides the ability to modify the registered license.

Verifying Configuration

Once authorization has been configured, browsing to the UNIFYNow website will redirect the user to the login page.

Image 4378


Upon successful login, the user can operate the UNIFYNow website as usual.

Image 4379


However, attempts to perform operations for which the user is not authorized will inform the user that they do not have sufficient privileges.

Image 4380


Users can sign out at any time by clicking the Sign out link in the navigation bar.

Image 4381


Configuration Security

Is this article helpful for you?