type=page
status=published
title=list-jacc-providers
next=list-javamail-resources.html
prev=list-instances.html
~~~~~~

list-jacc-providers
===================

[[list-jacc-providers-1]][[GSRFM00171]][[list-jacc-providers]]

list-jacc-providers
-------------------

Enables administrators to list JACC providers defined for a domain

[[sthref1528]]

=== Synopsis

[source]
----
asadmin [asadmin-options] list-jacc-providers [--help]
[target]
----

[[sthref1529]]

=== Description

The `list-jacc-providers` subcommand enables administrators to list the
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
\{product---name} Admin Console or the `create-jacc-provider` subcommand.

This subcommand is supported in remote mode only.

[[sthref1530]]

=== Options

asadmin-options::
  Options for the `asadmin` utility. For information about these
  options, see the link:asadmin.html#asadmin-1m[`asadmin`(1M)] help page.
`--help`::
`-?`::
  Displays the help text for the subcommand.

[[sthref1531]]

=== Operands

target::
  Specifies the target for which you want to list JACC providers. The
  following values are valid:

  `server`;;
    Lists the JACC providers on the default server instance. This is the
    default value.
  configuration_name;;
    Lists the JACC providers in the specified configuration.
  cluster_name;;
    Lists the JACC providers on all server instances in the specified
    cluster.
  instance_name;;
    Lists the JACC providers on a specified server instance.

[[sthref1532]]

=== Examples

[[GSRFM668]][[sthref1533]]

==== Example 1   Listing JACC providers

The following example shows how to list JACC providers for the default domain.

[source]
----
asadmin> list-jacc-providers
default
simple
testJACC

Command list-jacc-providers executed successfully.
----

[[sthref1534]]

=== Exit Status

0::
  subcommand executed successfully
1::
  error in executing the subcommand

[[sthref1535]]

=== See Also

link:asadmin.html#asadmin-1m[`asadmin`(1M)]

link:create-jacc-provider.html#create-jacc-provider-1[`create-jacc-provider`(1)],
link:delete-jacc-provider.html#delete-jacc-provider-1[`delete-jacc-provider`(1)]


