Bus-enabled web services default configuration for accessing a secure bus

By default, the bus-enabled web services component can access a secure service integration bus. This means that your Web services clients, if they provide suitable credentials when making requests, can use bus-enabled web services when bus security is enabled. You can modify or override the default configuration, for example by defining an authentication alias that the service integration resource adapter uses to access the bus.

Note: 如果要在啟用匯流排安全時,使用具有匯流排功能的 Web 服務,當發出要求時,您的 Web 服務用戶端必須提供適當的認證。您的用戶端可以依照Authenticating web services clients using HTTP basic authentication所說明,利用 WS-Security 或 HTTP 基本鑑別來提供認證。如果使用 HTTP 基本鑑別,您也必須啟用應用程式安全,且取決於使用了其中哪個鑑別方法而定,您也必須依照Password-protecting inbound services所說明來適當配置端點接聽器應用程式。 當使用 HTTP 基本鑑別時,您將 AuthenticatedUsers 角色對映至特殊的 "AllAuthenticatedUsers" 群組(或其他已鑑別的某適用群組或使用者);當使用 WS-Security 時,您不需要對映端點接聽器 AuthenticatedUsers 角色,除非您啟用了「應用程式安全」,在這個情況下,您將 AuthenticatedUsers 角色對映至特殊的 "Everyone" 群組。 如需相關資訊,請參閱Assigning users and groups to roles
具有匯流排功能的 Web 服務元件,可用來存取安全匯流排的預設配置如下:
  • 透過匯流排連接者角色來配置匯流排存取權。依預設,每個匯流排連接者角色都包括一個稱為伺服器的群組。 這個群組的成員有權連接到匯流排。
  • 服務整合資源配接器利用 J2C 啟動規格來與匯流排通訊。 依預設,這個啟動規格有一個設為 true 的布林自訂內容 useServerSubject。 這個內容可讓服務整合資源配接器作為伺服器群組的主體(成員),而連接到匯流排。

The server group in the bus connector role

This group controls whether a user is authorized to connect to the bus. The server group can be added or removed by using the administrative console:

服務整合 -> 匯流排 -> security_value -> [授權原則] 匯流排連接器角色中的使用者和群組

This group can also be set by using the following wsadmin command scripts:

addGroupToBusConnectorRole
removeGroupFromBusConnectorRole

The useServerSubject property

This boolean property is found in the custom properties panel of the J2C activation specification associated with the inbound, outbound or gateway service:

資源 -> 資源配接器 -> J2C 啟動規格 -> activation_specification_name -> [其他內容] J2C 啟動規格自訂內容

This property can also be set by using wsadmin command scripts.

Disabling and overriding the default configuration

To disable the default configuration, set the useServerSubject property to "false" rather than removing the server group, because the service integration resource adapter is not the only system resource that uses the server subject. If you remove the server group from the bus connector role, then no system resources can use the server subject.

You can also override the default configuration by defining an authentication alias that the service integration resource adapter uses to access the bus. 使用鑑別別名不會讓配置更安全。 不過,您可能會想要在 WebSphere Application Server 6.0.x 版之下執行的其他應用程式伺服器,或您要支援 ID 和密碼之運用的內部商業控制,您可以利用別名來取得方法上的一致。

如果配置鑑別別名,您不需要也將預設配置停用。如果鑑別別名存在,它會置換預設配置。 不過,如果您後來從啟動規格中移除鑑別別名,預設配置會重新取得控制權,且(如果未停用的話)會讓服務整合資源配接器繼續存取匯流排。

The following table shows whether the service integration resource adapter can connect to the secured bus, depending on the state of the different properties:

Table 1. Summary of expected behavior for accessing a secure service integration bus. The first column of this table shows whether or not the secure service integration bus has a valid authentication alias, indicated by Yes or No as appropriate. The second column indicates whether or not the useServerSubject property is selected, indicated by Yes or No as appropriate. The third column shows whether or not the server group has been added to the bus connector role, indicated by Yes or No as appropriate. The fourth column shows, for each of the combinations of Yes and No settings given in the first three columns, whether or not the resource adapter can connect to the bus, indicated by Yes or No as appropriate.
Valid authentication alias useServerSubject Server group on bus connector role Resource adapter can connect?
Yes No No Yes
No Yes Yes Yes
No No Yes No
No No No No
No Yes No No
Yes Yes Yes Yes (using the authentication alias)

指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:12
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rjw_security_defaults
檔名:rjw_security_defaults.html