Web Application WAR File -> Security tabbed pane -> User Authentication Method section -> Settings button
In the User Authentication Settings dialog box, enter further 
settings for either basic or form authentication:
If you chose 
 
or 
authentication, select the 
to which the web server will authenticate the user from the Realm Name field. You can select either the default or the 
 
realm.
If you chose authentication: