To Update an Authentication Realm
Use the set subcommand to modify an existing authentication
A custom realm does not require server restart.
List realms by using the list-auth-realms(1) subcommand.
Modify the values for the specified thread pool by using the set(1) subcommand.
thread pool is identified by its dotted name.
To apply your changes, restart GlassFish Server.
See To Restart a Domain.