Mapping the Unwired Platform Administrator Role Manually

When you cannot add the SUP Administrator role directly to your authentication repository, map the SUP Administrator to a role that already exists. This mapping is required for the Sybase Control Center login provider.

In this procedure, we assume the role that already exists in the authentication repository for Sybase Control Center is "Admin".
  1. Stop UAF Agent and Unwired Server services.
  2. In a text editor, open <SUP_install>\Servers\UnwiredServer\tomcat\conf\CSI\UEPRoleMapping.xml.
  3. Add following lines before the <Scope> definition:
    <DefaultMapping>
       <LogicalName>SUP Administrator</LogicalName>
       <MappedName>Admin</MappedName>
    </DefaultMapping>
    
  4. Save and close the file.
  5. In a text editor, open \Sybase\UAF-2_6\conf\roles-map.xml.
  6. Replace the LDAP login module definition, with this example:
    <module name="LDAP Login Module">
       <role-mapping modRole="Admin" uafRole="uaAgentAdmin" />
       <role-mapping modRole="SUP Developer" uafRole="uaGuest" />
       <role-mapping modRole="SUP User" uafRole="uaGuest" />
    </module>
  7. Save and close the file.
  8. Restart UAF Agent and Unwired Server services.
The logical SUP Administrator role is now successfully mapped to the physical LDAP server Admin role.