In a production environment – In a single domain environment, the "default" Domain's security configuration has "no security" set by default. That means, any user/password credentials are authenticated, and all roles are granted to everyone. So any user could perform DCN initially. However, eventually this default configuration for the default domain will change.
In this case—as in the case for any additional security configurations that is added—the SUP DCN User logical role must be mapped to some physical role in the backend security systems, and the user who performs DCN must be in that physical role.
Note: If security configuration provider does not support roles, you must perform a special mapping manually. You can create a single user role (a role explicitly mapped to a single user authenticated against the particular security configuration). This is achieved by prefixing the username with user:. For example, a mapped physical role named user:joep would authorize the user named 'joep' to issue DCN to any package associated with the particular security configuration that contains this mapping, or to issue a workflow DCN to any user authenticated against the particular security configuration.
To map the SUP DCN User to a user in the underlying security repository, the user name must be first defined in Sybase Control Center as a physical role that is mapable. Then, SUP DCN User role can be mapped to a physical user or to a physical role from Sybase Control Center. For example, if you want to map SUP DCN User to a user use the format user:<User> . Alternatively, you can also map it to a role with <PhysicalRole>.
If you are supporting multiple domains, then the user name also needs to include the named security configuration for the package the DCN is targeted for, by appending
@<DomainSecurityConfigName> as a suffix to that name. Suppose you have two packages (PKG_A, PKG_B) deployed to 2 domains (Domain_A, Domain_B) respectively.
Further, assume that PKG_A in Domain_A has been assigned to the "admin" security configuration, whereas PKG_B in Domain_B has been assigned to the "alternateSecurityConfig" security configuration.
- A user doing DCN to PKG_A should identify themselves as User@admin.
-
A user doing DCN to PKG_B should identify themselves as User@alternateSecurityConfig.
If you are using ActiveDirectory, and are using email addresses for user names, then definitions appear as <username@myaddress>@<DomainSecurityConfigName>.