Listing security roles for service integration by using the wsadmin tool

When you are administering messaging security, use these commands to list the security roles that are associated with service integration bus destinations, foreign buses, topics within a topic space, users and groups.

Para executar esses comandos, utilize o objeto AdminTask do cliente de script wsadmin. Cada comando age em vários objetos em uma operação. Os comandos são fornecidos para permitir que você faça os tipos de atualização mais comumente requeridos de forma consistente, pois a modificação dos objetos subjacentes diretamente seria propensa a erros.

[IBM i][IBM i]O cliente de script wsadmin é executado do Qshell. [IBM i]Para obter informações adicionais, consulte Configurando o Qshell para Executar Scripts do WebSphere Usando o Script wsadmin.

A ajuda da linha de comandos é fornecida para comandos do barramento de integração de serviços:
  • Para obter uma lista dos comandos de segurança do barramento de integração de serviços disponíveis no Jython e uma breve descrição de cada comando, digite o seguinte comando no prompt wsadmin:

    print AdminTask.help('SIBAdminBusSecurityCommands')

  • Para obter ajuda de visão geral sobre um determinado comando, digite o seguinte comando no prompt wsadmin:

    print AdminTask.help('command_name')

Commands

Listing all destinations with roles
To list all destinations that have roles defined for them, use the following command:
  • Using Jython:
    AdminTask.listAllDestinationsWithRoles("-bus busname
     -type destinationType")
  • Using Jacl:
    $AdminTask listAllDestinationsWithRoles {-bus busname
     -type destinationType}
Listing all foreign buses with roles
To list all foreign buses that have roles defined for them, use the following command:
  • Using Jython:
    AdminTask.listAllForeignBusesWithRoles("-bus busname")
  • Using Jacl:
    $AdminTask listAllForeignBusesWithRoles {-bus busname}
Listing all topics within a topic space with roles
To list all topics within a topic space that have roles defined for them, use the following command:
  • Using Jython:
    AdminTask.listAllTopicsWithRoles("-bus busname
     -topicSpace topicSpaceName")
  • Using Jacl:
    $AdminTask listAllTopicsWithRoles {-bus busname
     -topicSpace topicSpaceName}
Listing user roles
To list all the roles that a user belongs to, use the following command in wsadmin:
  • Using Jython:
    AdminTask.listAllRolesForUser("-bus busname -user userName")
  • Using Jacl:
    $AdminTask listAllRolesForUser {-bus busname -user userName}
Listing group roles
To list all the roles that a group belongs to, use the following command in wsadmin:
  • Using Jython:
    AdminTask.listAllRolesForGroup("-bus busname -group groupName")
  • Using Jacl:
    $AdminTask listAllRolesForGroup {-bus busname -group groupName}

Ícone que indica o tipo de tópico Tópico de Referência



Ícone de registro de data e hora Última atualização: July 9, 2016 7:51
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rjr_roles_list
Nome do arquivo: rjr_roles_list.html