You can configure a realm in one of these ways:
In the Admin Console, open the Security component under the relevant configuration and go to the Realms page. For details, click the Help button in the Admin Console.
Use the asadmin create-auth-realm command to configure realms on local servers. For details, see the Sun Java System Application Server Platform Edition 9 Reference Manual.