2.4.6 Configuring the permissions map
        To configure the permissions map
        
            - Open the core.xml file located in the Viewpoint home directory. Locate the <security> element.
 
            - Locate the <permissions-map> section. It specifies how authenticated users are authorized in the Viewpoint framework. For each principal value that should be considered, an arbitrary number of roles and permissions are assigned.
 
            - Set the <principal> element.
 
            
                - Set the type attribute to the "simple" class name of the principal.
 
                - Set the name attribute to the value of the principal. If a user is assigned a principal that matches this type and value, the given roles and permissions are assigned to that user.
 
                - Set the <role> child element to the role the user is given if they have the given principal. See Configuring role definitions  for more information.
 
            
            Example 2-1: Permissions map configuration
<permissions-map>
  <principal type="MoabSshUserPrincipal" name="cri">
    <role name="user"/>
  </principal>
  <principal type="MoabAdminPrincipal" name="ADMIN5">
    <role name="user"/>
  </principal>
  <principal type="ViewpointRolePrincipal" name="user">
    <role name="user"/>
  </principal>
  <principal type="ViewpointRolePrincipal" name="admin">
    <role name="admin"/>
  </principal>
</permissions-map>
        
        Related topics