2.9.6 delete-auth-realm
Removes the named authentication realm.
Synopsis
asadmin [asadmin-options] delete-auth-realm [--help] [--target target] auth_realm-name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-auth-realm subcommand removes the named authentication realm. This subcommand is supported in remote mode only.
Precondition
DAS has to be in a running state.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --target target
-
Specifies the target on which you are deleting the authentication realm.
Type: String
The following values can be specified:
-
server
Deletes the realm for the default server instance "server" and is the default value.
-
configuration_name
Deletes the realm for the named configuration.
-
cluster_name
Deletes the realm for every server instance in the cluster.
-
instance_name
Deletes the realm for a particular server instance.
Default value: server
-
- auth_realm_name
-
Specifies the name of the realm.
Type: String
The following values can be specified:
-
Name of the realm
Default value: N/A
-
Examples
The following example deletes the authentication realm db in the server instance instance1.
asadmin delete-auth-realm --target instance1 db
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |