[z/OS]

removeMapPlatformSubject 脚本

如果要使用系统授权工具 (SAF) 的分布式身份映射功能,请使用提供的 removeMapPlatformSubject Jython 脚本从安全配置中移除不必要的 Java™ 认证和授权服务 (JAAS) 登录模块 MapPlatformSubject。

removeMapPlatformSubject 脚本用于在以下登录条目中搜索并移除 com.ibm.ws.security.common.auth.module.MapPlatformSubject JAAS 登录模块:DEFAULT、WEB_INBOUND、RMI_INBOUND 和 SWAM_ZOSMAPPING。您可以对全局安全性配置或特定的安全域运行此脚本。

语法

存在以下命令语法:
wsadmin.sh -conntype NONE -lang jython -f 
/path/to/script/removeMapPlatformSubject.py [options]

在不使用选项的情况下运行此脚本会更新全局安全性配置。

参数

下列选项可用于 removeMapPlatformSubject 脚本:

-securityDomain <securityDomainName>
指定仅希望更新指定的安全域。如果未指定此选项,那么将更新全局安全性配置。
-scripthelp
指定要查看可用语法和选项的描述。–trace 选项还可用于调试目的。调试输出将发送到标准输出流。
–trace
指定要创建可用于调试应用此功能时的问题的跟踪。跟踪输出将发送到标准输出流。

使用方案

下列示例说明了正确的语法。

使用以下示例可以从全局安全性配置中移除登录模块:

wsadmin.sh -conntype NONE -lang jython -f 
/WebSphere/AppServer/bin/removeMapPlatformSubject.py 
使用以下示例可以从 server2Domain 安全域中移除登录模块:
wsadmin.sh -conntype NONE -lang jython -f 
/WebSphere/AppServer/bin/removeMapPlatformSubject.py 
-securityDomain server2Domain

指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rxml_removemap
文件名:rxml_removemap.html