blob: faa5fe24e3168e4796091d1d01c7e5c95590ceae [file] [log] [blame]
<!--
Copyright (c) 2009, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<a name="task-tosetdefault"></a><h4>To Set the Default Realm</h4><a name="indexterm-86"></a><p>The <b>default realm</b> is the realm that the GlassFish Server uses for authentication and
authorization if an application&#8217;s deployment descriptor does not specify a realm.</p>
<ol>
<li><b>In the navigation tree, expand the Configuration node.</b></li>
<li><b>Select the Security node.</b><p>The Security page opens.</p></li>
<li><b>From the Default Realm drop-down list, select the active realm that the server
will use for authentication.</b><p>The default value is <tt>file</tt>.</p></li>
<li><b>Click Save.</b></li></ol><h6>See Also</h6>
<ul><li><p><a href="task-realmnew.html">To Create a Realm</a></p>
</li>
<li><p><a href="task-realmedit.html">To Edit a Realm</a></p>
</li>
<li><p><a href="task-todeleterealm.html">To Delete a Realm</a></p>
</li>
<li><p><a href="task-createcustomrealm.html">To Create a Custom Realm</a></p>
</li></ul>
<small>Copyright &#169; 2010, 2017, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></small>