---
title: HTTP Basic DN Authorization Mechanism
description: The HTTP Basic DN Authorization Mechanism is used to define static authorization.
component: pingds
version: 7.4
page_id: pingds:configref:objects-http-basic-dn-authorization-mechanism
canonical_url: https://docs.pingidentity.com/pingds/7.4/configref/objects-http-basic-dn-authorization-mechanism.html
section_ids:
  parent: Parent
  http_basic_dn_authorization_mechanism_properties: HTTP Basic DN Authorization Mechanism properties
  basic_properties: Basic properties
  alt-authentication-enabled: alt-authentication-enabled
  alt-password-header: alt-password-header
  alt-username-header: alt-username-header
  enabled: enabled
  advanced_properties: Advanced properties
  java-class: java-class
---

# HTTP Basic DN Authorization Mechanism

The HTTP Basic DN Authorization Mechanism is used to define static authorization.

## Parent

The HTTP Basic DN Authorization Mechanism object inherits from [HTTP Authorization Mechanism](objects-http-authorization-mechanism.html).

## HTTP Basic DN Authorization Mechanism properties

You can use configuration expressions to set property values at startup time. For details, see [Property value substitution](expressions.html).

| Basic Properties                                                                                                                                                      | Advanced Properties       |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| [alt-authentication-enabled](#alt-authentication-enabled) [alt-password-header](#alt-password-header) [alt-username-header](#alt-username-header) [enabled](#enabled) | [java-class](#java-class) |

### Basic properties

Use the `--advanced` option to access advanced properties.

### alt-authentication-enabled

|                         |                                                                                                                  |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Specifies whether user credentials may be provided using alternative headers to the standard 'Authorize' header. |
| *Default value*         | false                                                                                                            |
| *Allowed values*        | truefalse                                                                                                        |
| *Multi-valued*          | No                                                                                                               |
| *Required*              | Yes                                                                                                              |
| *Admin action required* | None                                                                                                             |
| *Advanced*              | No                                                                                                               |
| *Read-only*             | No                                                                                                               |

### alt-password-header

|                         |                                                         |
| ----------------------- | ------------------------------------------------------- |
| *Synopsis*              | Alternate HTTP headers to get the user's password from. |
| *Default value*         | None                                                    |
| *Allowed values*        | A string.                                               |
| *Multi-valued*          | No                                                      |
| *Required*              | No                                                      |
| *Admin action required* | None                                                    |
| *Advanced*              | No                                                      |
| *Read-only*             | No                                                      |

### alt-username-header

|                         |                                                     |
| ----------------------- | --------------------------------------------------- |
| *Synopsis*              | Alternate HTTP headers to get the user's name from. |
| *Default value*         | None                                                |
| *Allowed values*        | A string.                                           |
| *Multi-valued*          | No                                                  |
| *Required*              | No                                                  |
| *Admin action required* | None                                                |
| *Advanced*              | No                                                  |
| *Read-only*             | No                                                  |

### enabled

|                         |                                                                |
| ----------------------- | -------------------------------------------------------------- |
| *Synopsis*              | Indicates whether the HTTP Authorization Mechanism is enabled. |
| *Default value*         | None                                                           |
| *Allowed values*        | truefalse                                                      |
| *Multi-valued*          | No                                                             |
| *Required*              | Yes                                                            |
| *Admin action required* | None                                                           |
| *Advanced*              | No                                                             |
| *Read-only*             | No                                                             |

## Advanced properties

Use the `--advanced` option to access advanced properties.

### java-class

|                         |                                                                                                                              |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Specifies the fully-qualified name of the Java class that provides the HTTP Basic DN Authorization Mechanism implementation. |
| *Default value*         | org.opends.server.protocols.http.authz.HttpBasicDnAuthorizationMechanism                                                     |
| *Allowed values*        | A Java class that extends or implements:- org.opends.server.protocols.http.authz.HttpAuthorizationMechanism                  |
| *Multi-valued*          | No                                                                                                                           |
| *Required*              | Yes                                                                                                                          |
| *Admin action required* | None                                                                                                                         |
| *Advanced*              | Yes                                                                                                                          |
| *Read-only*             | No                                                                                                                           |
