Sun Microsystems 820433510 Server User Manual


 
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
Conguring the Message Security Provider
Typically, a provider would be re-congured to modify its message protection policies,
although the provider type, implementation class, and provider-specic conguration
properties may also be modied.
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