Exit Print View

Sun GlassFish Enterprise Server v3 Administration Guide

  This Document Entire Library
Print View

Document Information

Preface

1.  Overview of Enterprise Server Administration

Default Settings and Locations

Configuration Tasks

Administration Tools

Instructions for Administering Enterprise Server

Part I Runtime Administration

2.  General Administration

3.  Administering Domains

4.  Administering the Virtual Machine for the Java Platform

5.  Administering Thread Pools

6.  Administering Web Applications

7.  Administering the Logging Service

8.  Administering the Monitoring Service

9.  Administering Life Cycle Modules

10.  Extending Enterprise Server

Part II Security Administration

11.  Administering System Security

12.  Administering User Security

13.  Administering Message Security

About Message Security in Enterprise Server

Security Tokens and Security Mechanisms

Authentication Providers

Message Protection Policies

Application-Specific Web Services Security

Message Security Administration

Message Security Tasks

Message Security Roles

Sample Application for Web Services

Enabling Default Message Security Providers for Web Services

To Enable a Default Server Provider

To Enable a Default Client Provider

Configuring Message Protection Policies

Message Protection Policy Mapping

To Configure the Message Protection Policies for a Provider

Setting the Request and Response Policy for the Application Client Configuration

Administering Non-default Message Security Providers

To Create a Message Security Provider

To List Message Security Providers

To Update a Message Security Provider

To Delete a Message Security Provider

Enabling Message Security for Application Clients

Additional Information About Message Security

Part III Resources and Services Administration

14.  Administering Database Connectivity

15.  Administering EIS Connectivity

16.  Administering Internet Connectivity

17.  Administering the Object Request Broker (ORB)

18.  Administering the JavaMail Service

19.  Administering the Java Message Service (JMS)

20.  Administering the Java Naming and Directory Interface (JNDI) Service

21.  Administering Transactions

Part IV Appendixes

A.  Subcommands for the asadmin Utility

Index

Administering Non-default Message Security Providers

The following topics are addressed here:

To Create a Message Security Provider

Use the create–message–security–provider subcommand in remote mode to create a new message provider for the security service. If the message layer does not exist, the message layer is created, and the provider is created under it.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. Create the message security provider by using the create-message-security-provider(1) subcommand.

    Information about properties for this subcommand is included in this help page.

  3. (Optional)

    If needed, restart the server.

    Some properties require server restart. See Configuration Changes That Require Server Restart. If your server needs to be restarted, see To Restart a Domain.

Creating a Message Security Provider

This example creates the new message security provider mySecurityProvider.

asadmin> create-message-security-provider 
--classname com.sun.enterprise.security.jauth.ClientAuthModule --providertype client mySecurityProvider
Command create-message-security-provider executed successfully.
See Also

You can also view the full syntax and options of the subcommand by typing asadmin help create–message–security–provider at the command line.

To List Message Security Providers

Use the list–message–security–providers subcommand in remote mode to list the message providers for the security layer.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the message security providers by using the list-message-security-providers(1) subcommand.

Listing Message Security Providers

This example lists the message security providers for a message layer.

asadmin> list-message-security-providers --layer SOAP
XWS_ClientProvider 
ClientProvider
XWS_ServerProvider
ServerProvider
Command list-message-security-providers executed successfully.
See Also

You can also view the full syntax and options of the subcommand by typing asadmin help list–message–security–providers at the command line.

To Update a Message Security Provider

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the message security providers by using the list-message-security-providers(1) subcommand.

  3. Modify the values for the specified message security provider by using the set(1) subcommand.

    The message security provider is identified by its dotted name.

To Delete a Message Security Provider

Use the delete-message-security-provider subcommand in remote mode to remove

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the message security providers by using the list-message-security-providers(1) subcommand.

  3. Delete the message security provider by using the delete-message-security-provider(1) subcommand.

Deleting a Message Security Provider

This example deletes the myServerityProvider message security provider.

asadmin> delete-message-security-provider --layer SOAP myServerityProvider
Command delete-message-security-provider executed successfully.
See Also

You can also view the full syntax and options of the subcommand by typing asadmin help delete–message–security–provider at the command line.