■
To specify the default server provider:
asadmin
set --user
admin-user
--port
admin-port
server-config.security-service.message-security-config.SOAP.
default_provider=ServerProvider
■
To specify the default client provider:
asadmin
set --user
admin-user
--port
admin-port
server-config.security-service.message-security-config.SOAP.
default_client_provider=ClientProvider
Configuring the Message Security Provider
Typically, a provider would be re-configured to modify its message protection policies,
although the provider type, implementation class, and provider-specific configuration
properties may also be modified.
Use the command-line utility to set the response policy, replace the word
request
in the
following commands with
response
.
■
Add a request policy to the client and set the authentication source:
asadmin
set --user
admin-user
--port
admin-port
server-config.security-service.message-security-config.SOAP.
provider-config.ClientProvider.request-policy.auth_source=
sender | content
■
Add a request policy to the server and set the authentication source:
asadmin
set --user
admin-user
--port
admin-port
server-config.security-service.message-security-config.SOAP.
provider-config.ServerProvider.request-policy.auth_source=
sender | content
■
Add a request policy to the client and set the authentication recipient:
asadmin
set --user
admin-user
--port
admin-port
server-config.security-service.message-security-config.SOAP.
provider-config.ClientProvider.request-policy.auth_recipient=
before-content | after-content
■
Add a request policy to the server and set the authentication recipient:
asadmin
set --user
admin-user
--port
admin-port
server-config.security-service.message-security-config.SOAP.
provider-config.ServerProvider.request-policy.auth_recipient=
before-content | after-content
Message Security Setup
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008
138
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...