These samples illustrate how to call and use an assembler program,
based on the RACROUTE RACF macro, to check whether a user is
authorized to a particular RACF resource in a specific RACF class. It
can be used to implement some sort of 2nd level security within an
application, bearing in mind that the access level checked is the
default READ.
The userID of the user calling the program (that is, the
user who is using the application) is the one that is checked against
the RACF class and resource specified by the calling program.
The parameter passed back to the calling program (AUTH/NOTAUTH) can
then be used by the application for its internal security.
|