A passtoken is a short-lived, single-use substitute for a password. In Enterprise Server for .NET, passtokens are objects that enable users to sign on with alternative credentials such as a certificate.
The DCAS passtickets required for certificate mapping are based on External Security Facility (ESF) passtokens. The only ESM module that supports passtokens is LdapEsm; therefore, ESF configuration must include at least one Security Manager that uses the LdapEsm module.
Region security for DCAS also includes configuration of ESF, and configuration of an LDAP server, and so you must also configure an LDAP server with security information for Enterprise Server for .NET.
If a region has a security configuration with multiple Security Managers, at least one of the Security Managers must support passtokens. Otherwise, DCAS cannot be used for that region. Whether the region has multiple Security Managers or only one, the first manager that supports passtokens handles passtoken requests.
Passtokens are not enabled by default. ESF passtokens must be enabled either globally or individually for each DCAS user.
You can enable passtokens using either of the following methods:
[Passtoken] Default=self
In addition, you can configure a Security Manager to entirely disable passtokens. To do so, add the following to the Security Manager configuration:
[Passtoken] Enabled=no
DCAS uses the ESF PTKTDATA resource class to track access for certain users. A request to DCAS to obtain a passticket for a user includes a string known as an APPLID. Before granting the request, DCAS uses the region's security configuration to make an ESF query to determine if the requested user has Update access for a resource in the PTKTDATA class with the same name as the APPLID.
For example, to allow users in the SALES group to sign on using DCAS when passing the PROD APPLID. Import the following LDIF data to your LDAP repository:
# Create the PTKTDATA resource class # This only has to be done once dn: CN=PTKTDATA,CN=Enterprise Server Resources,CN=Micro Focus,CN=Program Data,DC=X changetype: add objectClass: top objectClass: container description: DCAS security # Let the SALES group sign on to APPLID PROD dn: CN=PROD,CN=PTKTDATA,CN=Enterprise Server Resources,CN=Micro Focus,CN=Program Data,DC=X changetype: add objectClass: microfocus-MFDS-Resource microfocus-MFDS-Resource-Class: PTKTDATA microfocus-MFDS-Resource-ACE: allow:SALES group:update microfocus-MFDS-Resource-ACE: deny:*:execute microfocus-MFDS-UID: mfuid description: Allow SALES to sign on to PROD using DCAS