[id='disabling-authentication_{context}']
= Disabling authentication

In local development environments or on isolated networks you can configure {brandname} to allow unauthenticated client requests.
When you disable user authentication you should also disable authorization in your {brandname} security configuration.

.Procedure

. Open your {brandname} Server configuration for editing.
. Remove the `security-realm` attribute from the `endpoints` element or field.
. Remove any `authorization` elements from the `security` configuration for the `cache-container` and each cache configuration.
. Save the changes to your configuration.

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/server_authentication_disabled.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/server_authentication_disabled.json[]
----

.YAML
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/server_authentication_disabled.yaml[]
----
