Mapping EAServer roles to Enterprise Security roles

EAServer roles are mapped to Enterprise Security roles in the security.properties file. The following role mappings are created automatically by the Enterprise Security installer in security.properties:

easerverRolemap.epdefault_0.epdn=PortalWebPlugin
easerverRolemap.epdefault_0.jagrole=PortalWebPlugin
easerverRolemap.epdefault_1.epdn=PortalSecOfficer
easerverRolemap.epdefault_1.jagrole=PortalSecurityOfficer
easerverRolemap.epdefault_2.epdn=PortalAdmin
easerverRolemap.epdefault_2.jagrole=PortalAdmin
easerverRolemap.epdefault_3.epdn=PortalGuest
easerverRolemap.epdefault_3.jagrole=PortalGuest

In earlier versions of Enterprise Security, roles were mapped using their names; beginning with version 6.0, you must use the DN instead of the name. For each of these pre-mapped Enterprise Security roles, the role DN is the same as the role name.

StepsMapping EAServer roles to Enterprise Security roles

  1. Using any standard ASCII text editor, open the security.properties file, which is located in the java/classes/com/sybase/ep/security subdirectory of your EAServer installation, and use this syntax to add a role mapping pair:

    easerverRolemap.epdefault_n.epdn=secRoleDN
    easerverRolemap.epdefault_n.jagrole=EAServerRole
    

    where:

    For example, the following lines map a role called NewRole using the Enterprise Security role DN and the EAServer role name:

    easerverRolemap.epdefault_4.epdn=r1\=NewRole,o\=Sybase,c\=US
    easerverRolemap.epdefault_4.jagrole=NewRole
    
  2. Stop and restart EAServer for the changes to take effect.