roleProvider

Top  Previous  Next

The roleProvider element specifies the implementation that will be used to return a list of user roles for a given user name. The content of this element is the full reference to the implementation class. The following implementations are provided by the Web3 Platform.

 

Provider

Implementation Reference

Description

Null Provider

NetworkedPlanet.Web3.Platform.Security.NullRoleProvider, NetworkedPlanet.Web3.Platform.Security

This implementation always returns no roles. This means that the user has only the privileges assigned to their user account and the privileges assigned to the Anonymous user.

ASP.NET Role Provider

NetworkedPlanet.Web3.Platform.Security.AspNetRoleProvider, NetworkedPlanet.Web3.Platform.Security

This implementation delegates the task of returning user roles to the ASP.NET role provider framework. To use this implementation you must properly configure the ASP.NET role provider in the Web3 service web application on all front-end servers.

Active Directory Role Provider

NetworkedPlanet.Web3.Platform.Security.ActiveDirectoryRoleProvider, NetworkedPlanet.Web3.Platform.Security

This implementation looks up the groups that a user is a member of in ActiveDirectory and returns the list of group names as the user's role list. This enables privileges to be assigned to any ActiveDirectory group as well as to individual users. To use this role provider you will need to provide additional configuration information by adding the adRoleProvider element to the serverConfig.xml file.

 

The roleProvider element is a child of the securityManager element.