cics 资源访问控制

 

术语:

Transaction Definitions (TD) TSLCheck

Resource Security Level (RSL)


1、在UD中通过参数 RSLKeyList 举例如 3|5|7| 。

2、在资源文件定义中 参数 RSLKey

RSLKey 取值范围:

A key that is represented by a number (1 through 24 ):仅当能匹配到UD中通过参数RSLKeyList 中的值时可以访问

public: 任何人可以访问

private: 只有TD 定义中 参数RSLCheck 设置为none 可以访问。

RSLKey 作用的资源有:

  • Files as defined in the File Definitions (FD)
  • Transient data queues as defined in the Transient Data Definitions (TDD)
  • Temporary storage queues as defined in the Temporary Storage Definitions (TSD)
  • Journals as defined in the Journal Definitions (JD)
  • Application programs as defined in the Program Definitions (PD)
  • Transactions as defined in the Transaction Definitions (TD)


3、在TD文件中 参数RSLCheck。

取值范围:

external :外部检查。 此时 RSLKey 不起作用

internal : 例如: CECI, CPMI, CEDF, CEBR, CSM1 and CSMI。如果你想交易执行安全检查,就必须设置为此值。

none :不做检查。

例子:

RSL key valueRSLCheck=none (no checking)RSLCheck=internal (checking)
RSLKey=private Access allowedAccess refused
RSLKey=public Access allowedAccess allowed
RSLKey=1-24 Access allowedAccess allowed (if keys match)

 

4、当用户访问非授权的资源时,会抛出NOTAUTH 异常。(If a user tries to access a resource and the resource security key does not match, a NOTAUTH condition is raised.)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值