Click the Configurations tab and select the configuration from the list.
Select the configuration for which you need to add a new authentication realm. and select the configuration.
Click Java > Security tab.
Click New Authentication.
Provide Realm Details.
Name — Enter a short name for the realm. This name is used to refer to the realm from, for example, web.xml.
Class — If you are configuring a custom realm, enter the full Java class name which implements your custom realm. There is no need to enter a class for any of the built-in realms.
Type — Select the type of realm. See the previous section where Java Realm types are discussed.
Properties — Add realm specific properties. For instance,property name="file" value="instance_dir/config/keyfile" and property name="jaas-context" value="fileRealm.
Using CLI
To add an authentication realm through CLI, execute the following command.
wadm> create-auth-realm --user=admin --password-file=admin.pwd --host=serverhost --port=8989 --config=config1 basic |
See CLI Reference, create-auth-realm(1).
Specify the name of a built-in authentication realm type. The type can be file, ldap, pam, native or certificate.