Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo Enable a Default Server Provider

To enable message security for web services endpoints deployed in Enterprise Server, you must specify a security provider to be used by default on the server side. If you enable a default provider for message security, you also need to enable providers to be used by clients of the web services deployed in Enterprise Server.

  1. Specify the default server provider by using the set(1) subcommand.

    Use the following syntax:


    asadmin  set --port admin-port 
    server-config.security-service.message-security-config.SOAP.
    default_provider=ServerProvider
  2. To apply your changes to applications that are already running, restart Enterprise Server.

    See To Restart a Domain.