create-auth-realm <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] --config|-c config-name (--class|-C=name| --type|-t file/ldap/pam/native/certificate) realm-name
Use this command to create a new authentication realm. The J2EE based security model provides for security realms that identify and authenticate users. The authentication process verifies users through an underlying realm, also known as a security domain. A realm consists of a set of users, optional group mappings, and authentication logic that validates the requests.
Once an authentication request is validated by a configured realm and the security context established, the identity is applied to all subsequent authorization decisions, unless overruled by a run-as condition. A server instance may have any number of configured realms.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the name of a built-in authentication realm type. The type can be file, ldap, pam, native or certificate.
Specify the class for custom realm.
The type and class options are mutually exclusive.
Specify the name of the configuration for which you want to create the authentication realm.
wadm create-auth-realm --user=admin --password-file=../admin.passwd --host=serverhost --port=8989 --ssl=true --no-prompt --rcfile=null --config=config1 --class=javax.security.auth.realm basic
The following exit values are returned:
command executed successfully
error in executing the command