Version 7.4.2

Adabas SAF Security Configuration Parameters

This document describes the Adabas SAF Security configuration parameters.

Caution:
Because of the sensitivity of SAF security, the ability to change the configuration module or the DDSAF dataset must be tightly controlled by the external security system.


ADASAF Parameters Specified in Configuration Module SAFCFG

This section describes the site-dependent parameters which are specified using an assembled configuration module SAFCFG. SAFCFG is supplied as part of the SAF Security Kernel on the Adabas limited libraries.

Note:
The default value for each ADASAF parameter is underlined in the parameter syntax definition.

ABS: Adabas Basic Services Level Protection

Parameter Description Syntax
ABS

Level of protection for Adabas Basic Services:

  • 0: disables ADASAF protection for Adabas Basic Services

  • 1: ADASAF is to protect main functions only

  • 2: ADASAF is to protect both main and subfunctions

See also the section Adabas Basic Services.

ABS={0| 1 | 2 }

ADASCR: Use Logon ID of Security Package as Adabas Security Password

Parameter Description Syntax
ADASCR

Indicates whether or not the Logon ID of the security package is to be used as the Adabas Security password.

  • N: the Logon ID of the security package is not to be used as the Adabas Security password

  • Y: the Logon ID is placed in the Additions 3 field of the Adabas control block for use by Adabas

ADASCR={N | Y }

CIPHER: Extract Adabas Cipher Codes from RACF

Parameter Description Syntax
CIPHER

Indicates whether or not ADASAF should extract Adabas cipher codes from RACF and apply them to the relevant Adabas commands.

  • N: ADASAF should not extract Adabas cipher codes from RACF and apply them to the relevant Adabas commands

  • Y: ADASAF will extract Adabas cipher codes from RACF and apply them to the relevant Adabas commands

CIPHER={N| Y }

DBCLASS: Database Resource Class Name

Parameter Description Syntax
DBCLASS

The name of the ADASAF database resource class name. The name can be up to eight alphanumeric characters.

DBCLASS={ name | ADASEC}

DBFLEN: Format of Database ID and File Number in Resource Profiles

Parameter Description Syntax
DBFLEN

The format of the Database ID and file number in resource profiles:

  • 0: 3 digits with leading zeroes

  • 1: 5 digits with leading zeroes

  • 2: up to 5 digits with leading zeroes suppressed

The default value is recommended to simplify reporting and maintenance of security profiles; to allow for the large Database IDs and file numbers introduced with Adabas version 6; and to allow for ET data protection, if required.

DBFLEN={ 0 |1| 2 }

DBNCU: Number of Database Checks to be Buffered Per User

Parameter Description Syntax
DBNCU

The number of database checks to be buffered per user, in the cache defined by GWSIZE. These buffered checks are used to avoid repeated SAF calls for a user when LOGOFF=NEVER or LOGOFF=TIMEOUT is specified.

DBNCU=0

DBUNI: Allow Access to Undefined Adabas Resources

Parameter Description Syntax
DBUNI

Indicates whether or not access to undefined Adabas resources should be allowed. The normal mode of operation is to prevent access to resources not defined to the security system. Profiles representing Adabas resources are added to the security repository with either a default access or by granting access to specific users and groups.

  • N: access to undefined Adabas resources is not allowed

  • Y: access to undefined Adabas resources is allowed

    Note:
    This option does not permit access to resources defined with universal access "none".

DBUNI={N| Y }

DELIM: Delimiter Usage for Entity Names

Parameter Description Syntax
DELIM

Use of delimiter when defining an entity name.

  • N: the entity name begins with ACC for access commands and UPD for update commands and does not contain a full stop (period) delimiter

  • Y: the entity name begins with CMD and has a full stop (period) delimiter between the Database ID and file number

DELIM={ N | Y}

ETDATA: Protect Commands Which Access or Create ET Data

Parameter Description Syntax
ETDATA

Indicates whether or not ADASAF should protect commands that access or create ET data.

  • N: ADASAF should not protect commands that access or create ET data

  • Y: ADASAF should protect commands that access or create ET data

This parameter is only honored if fixed-length Database IDs and file numbers are used in the resource profile names (that is, the DBFLEN parameter specifies 0 or 1). File number 00000 (DBFLEN=1) or 000 (DBFLEN=0) is checked for the relevant database. RE commands need read access; OP commands with Command Option 2 set to E need read access; ET, CL, and C3 commands with Command Option 2 set to E need update access.

ETDATA={ N |  Y }

GROUP: Use Group ID for Resource Authorization Checking

Parameter Description Syntax
GROUP

Indicates whether or not the Group ID rather than the User ID is to be used for resource authorization checking.

  • N: Group ID is not to be used for resource authorization checking

  • Y: Group ID is to be used for resource authorization checking

GROUP={ N | Y }

GWMSGL: Trace Level for Database Security Checking

Parameter Description Syntax
GWMSGL

The tracing level for database security checks.

  • 0: no tracing

  • 1: trace violations only

  • 2: trace successful checks only

  • 3: trace all checks

For easier problem diagnosis and auditing, trace messages include a time stamp and the name of the job that issued the Adabas call.

GWMSGL={ 0 | 1 | 2 | 3 }  

GWSIZE: Storage Size for Caching User Information

Parameter Description Syntax
GWSIZE

The amount of storage (in kilobytes) to be used for caching user information related to the security system, for example checked entity names. For more information, see the section Accessing and Changing Database Data.

GWSIZE=16

GWSTYP: Adabas SAF Security Type

Parameter Description Syntax
GWSTYP

The SAF security type.

  • 1: RACF

  • 2: CA-Top Secret

  • 3: CA-ACF2

  • 4: RACF executing on a Fujitsu operating system.

 GWSTYP={ 1 | 2 | 3 | 4 }

LOGOFF: Logging Off ADASAF Users

Parameter Description Syntax
LOGOFF

Indicates when ADASAF should log off users from the SAF security system.

  • ALWAYS: ADASAF is to log off the user whenever the associated Adabas user session ends, either because of a Close command or because the Adabas user has been stopped or timed out.

  • NEVER: ADASAF is to log off the user only when the user's memory (in the cache specified by GWSIZE) needs to be allocated to a new user.

  • TIMEOUT: ADASAF is to log off the user only when the associated Adabas user session has been timed out or stopped.

The settings LOGOFF=NEVER and LOGOFF=TIMEOUT will substantially reduce SAF overheads in databases where users often issue Close commands and then start a new session. However, it may be necessary to increase GWSIZE to provide enough memory to save the user details across Close commands.

Use the Adabas session statistics "Number of users participating" and "Number of commands executed" to decide whether LOGOFF=NEVER or LOGOFF=TIMEOUT should be used. If the number of commands per user is relatively low, consider setting LOGOFF=TIMEOUT and then using ADASAF's Online Services to monitor the effectiveness of GWSIZE: option 1 shows the number of allocations (new users created) and overwrites (old users deleted); if these are high, increase GWSIZE.

If the Adabas non-activity timeout values are such that users are frequently timed out, set LOGOFF=NEVER rather than LOGOFF=TIMEOUT.

LOGOFF={ ALWAYS | NEVER | TIMEOUT }

MAXFILES: Maximum Number of Files to be Cached Per User

Parameter Description Syntax
MAXFILES

The number of files for which security information is to be cached for each user. If a user accesses more than this number of files, the oldest entries will be overwritten.

 MAXFILES={ nnnn | 16 }

MAXPCC: Maximum Number of Passwords and Cipher Codes

Parameter Description Syntax
MAXPCC

The maximum number of passwords and cipher codes to be extracted from RACF for the current Adabas nucleus. If ADASAF finds more than this number, nucleus initialization is terminated with message AAF010.

MAXPCC={ nnnn | 16}

NOTOKEN: Allow Calls from Unsecured Mainframe Clients

Parameter Description Syntax
NOTOKEN

Indicates whether or not calls from unsecured mainframe clients are to be allowed. An unsecured mainframe client is a client operating in an environment that does not provide security information via the Adabas router. For example, a remote Lpar where the router has not been linked with the SAF security extensions (SVCSAF) or a CICS job that is not using ADATRUE.

  • N: Calls from unsecured mainframe clients are not to be allowed

  • Y: Calls from unsecured mainframe clients are to be allowed

Caution:
It is strongly recommended not to use NOTOKEN=Y since this may allow unauthorized access to or updating of Adabas data. NOTOKEN=Y is only intended for extremely short-term use during a phased implementation of Adabas SAF Security.

NOTOKEN={ N | Y }

NWCLASS: Class Name for Cross-Level Checking

Parameter Description Syntax
NWCLASS

The name of the ADASAF database resource class name for use in cross-level checks. The name can be up to eight alphanumeric characters.

NWCLASS={ name | ADASEC}

NWNCU: Number of Database Checks to be Buffered per Cross-Level User

Parameter Description Syntax
NWNCU

The number of database checks to be buffered per cross-level user, in the cache defined by GWSIZE.

NWNCU=0

NWUNI: Allow Access to Undefined Adabas Resources for Cross-Level Checking

Parameter Description Syntax
NWUNI

Indicates whether or not access to undefined Adabas resources should be allowed for cross-level checks. The normal mode of operation is to prevent access to resources not defined to the security system. Profiles representing Adabas resources are added to the security repository with either a default access or by granting access to specific users and groups.

  • N: access to undefined Adabas resources is not allowed for cross-level checks

  • Y: access to undefined Adabas resources is allowed for cross-level checks

Note:
This option does not permit access to resources defined with universal access "none".

NWUNI={ N | Y }

NWUSRW: User ID for Security Checking for Workstation Users

Parameter Description Syntax
NWUSRW

The User ID to be used for database cross-level security checks issued on behalf of workstation users.

NWUSRW=WINUSER

PASSWORD: Extract Adabas Passwords from RACF

Parameter Description Syntax
PASSWORD

Indicates whether or not ADASAF should extract Adabas passwords from RACF and apply them to the relevant Adabas commands.

  • N: ADASAF should not extract Adabas passwords from RACF and apply them to the relevant Adabas commands

  • Y: ADASAF should extract Adabas passwords from RACF and apply them to the relevant Adabas commands

PASSWORD={N | Y }

REMOTE: Mechanism for Protecting Calls from Remote Users

Parameter Description Syntax
REMOTE

The mechanism ADASAF should use to protect calls from remote users.

  • LINK: ADASAF is to use, as the SAF Logon ID, the Entire Net-Work link name by which the call arrived

  • NODE: ADASAF is to use, as the SAF Logon ID, the Entire Net-Work node name from which the call arrived

  • NONE: this setting must only be used in conjunction with Entire Net-Work SAF Security

  • POPUP: ADASAF is to initiate the remote workstation logon procedure

REMOTE={ LINK | NODE | NONE | POPUP}

SAFPRINT: Security Check Trace Message Printing

Parameter Description Syntax
SAFPRINT

Specify whether security check trace messages should be written to DD SAFPRINT or to DD DDPRINT.

  • N: security check trace messages are to be written to DD DDPRINT

  • Y: security check trace messages are to be written to DD SAFPRINT

If SAFPRINT=Y is specified, but a SAFPRINT dataset is not provided, the trace messages will be written to DDPRINT.

The SAFPRINT dataset must be defined in the nucleus JCL and may refer to a SYSOUT dataset or to a file defined with RECFM=F (or FB) and LRECL=121.

SAFPRINT={N | Y }

WTOCASE: Mixed or Upper Level Case for ADASAF Prefix Messages

Parameter Description Syntax
WTOCASE

The AAF prefix messages issued by ADASAF may be written in mixed or upper case. For compatibility with previous versions, the default is upper case.

  • M: AAF prefix messages are to be written in mixed case

  • U: AAF prefix messages are to be written in upper case

WTOCASE={ M | U }

XLEVEL: Type of Database Cross-Level Security Checking

Parameter Description Syntax
XLEVEL

The type of database cross-level security checking to be performed.

  • 0: no cross-level checking

  • 1: Perform a cross-level check only on a user's first call to a database nucleus

  • 2: Perform a cross-level check every time a standard check is performed; this option may be useful if only certain files in the database should be accessible to a particular job

  • 3: The User ID of the originating job should form part of the resource profile name. This option may be useful when different users have different access requirements, depending on the environment in which they are running

For more information, see the section Cross-Level Checking.
XLEVEL={0 | 1 | 2 | 3 }

Top of page

Overriding ADASAF Parameters Using DDSAF Data Set

Some ADASAF parameters can be overridden on a nucleus-by-nucleus basis by providing them in a dataset referenced by the DD name DDSAF, thereby avoiding the need to maintain a separate parameter module for each database with different requirements.

The DDSAF dataset should be defined with record size (LRECL) 80 and format fixed (RECFM=F) or fixed-blocked (RECFM=FB), in which case it should have a suitable blocksize.

Each record in DDSAF must begin in column 1, with an asterisk (*) to indicate that it is a comment, or with the parameter keyword and value and optional comments. Each parameter must be specified in a separate record.

The DDSAF dataset is only used for nucleus jobs.

The parameters that can be specified are:

ABS MAXFILES
ADASCR MAXPC
CIPHER NOTOKEN
ETDATA PASSWORD
FAILMODE REMOTE
LOGOFF XLEVEL

Note:
The only valid setting for FAILMODE is FAILMODE=F. This can be used to switch a nucleus running in WARN mode into FAIL mode by modifying DDSAF and restarting ADASAF using ADASAF Online Services (option 6) or by using the AAF SNEWCOPY operator command. FAILMODE=F may only be specified in DDSAF; if specified in the configuration module, it is ignored.

Example

A sample parameter file is shown below.

ADASCR=N no ADASCR compatibility
CIPHER=Y some cipher codes
ETDATA=N no ET data protection
MAXFILES=20 maximum cached files
MAXPC=10 maximum cipher codes
PASSWORD=N no passwords
XLEVEL=2 full cross-level checking

Top of page