Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.9.8 delete-jacc-provider

Deletes JACC providers defined for a domain. This option is available for administrators only.

Synopsis

asadmin [asadmin-options] delete-jacc-provider [--help]
    [--target target] jacc-provider-name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The delete-jacc-provider subcommand enables administrators to delete JACC providers defined for a domain. JACC providers are defined as jacc-provider elements in the security-service element in the domain's domain.xml file. JACC providers can be created using the create-jacc-provider subcommand.

The default Java EE Server installation includes two JACC providers, named default and simple. These default providers should not be deleted.

The JACC provider used by Java EE Server for authorization is identified by the jacc-provider element of security-service in domain.xml. Therefore, if you delete the jacc-provider provider, make sure you change jacc-provider to the name of some other JACC provider that exists under security-service.

If you change the jacc-provider element to point to a different JACC provider, you must restart Java EE Server.

This subcommand is supported in remote mode only.

Precondition

DAS has to be in a running state.

Files

JACC providers are defined as jacc-provider elements in the security-service element in the domain's domain.xml file.

Arguments

--help | -?

Displays the help text for the subcommand.

--target target

Specifies the target from which you are deleting the JACC provider.

Type: String

The following values can be specified:

  • server

    Deletes the JACC provider on the default server instance. This is the default value.

  • configuration_name

    Deletes the JACC provider in the specified configuration.

  • cluster_name

    Deletes the JACC provider on all server instances in the specified cluster.

  • instance_name

    Deletes the JACC provider on a specified server instance.

Default value: server

jacc-provider-name

Specifies the name of the JACC provider.

Type: String

The following values can be specified:

  • Name of the JACC provider

Default value: N/A

Examples

The following example shows how to delete a JACC provider named testJACC from the default domain on the server instance instance1.

asadmin delete-jacc-provider --target instance1 testJACC

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.