■
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
Conguring the Message Security Provider
Typically, a provider would be re-congured to modify its message protection policies,
although the provider type, implementation class, and provider-specic conguration
properties may also be modied.
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
MessageSecurity Setup
SunGlassFishEnterpriseServer2.1AdministrationGuide • December2008138