2.9.12 list-auth-realms
Lists the authentication realms.
Synopsis
asadmin [asadmin-options] list-auth-realms [--help] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-auth-realms subcommand lists the authentication realms. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- target
-
Specifies the name of the target for which you want to list the authentication realms.
Type: String
The following values can be specified:
-
server
Lists the realms for the default server instance server and is the default value.
-
configuration_name
Lists the realms for the named configuration.
-
cluster_name
Lists the realms for every server instance in the cluster.
-
instance_name
Lists the realms for a particular server instance.
Default value: server
-
Examples
The following example lists the authentication realms.
asadmin list-auth-realms
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |