---
title: DesKeyGenHandler (deprecated)
description: This object is deprecated and not considered secure. For more information, refer to Deprecation.
component: pinggateway
version: 7.2
page_id: pinggateway:reference:DesKeyGenHandler
canonical_url: https://docs.pingidentity.com/pinggateway/2023.11/reference/DesKeyGenHandler.html
llms_txt: https://docs.pingidentity.com/pinggateway/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2025-06-02T16:30:54Z
superseded_by: https://docs.pingidentity.com/pinggateway/2023.11/reference/DesKeyGenHandler.html
section_ids:
  DesKeyGenHandler-usage: Usage
  DesKeyGenHandler-moreinfo: More information
---

# DesKeyGenHandler (deprecated)

|   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | This object is deprecated and not considered secure. For more information, refer to [Deprecation](../release-notes/deprecated-functionality.html).Consider using AM's password replay post-authentication plugin class `com.sun.identity.authentication.spi.JwtReplayPassword`. The plugin encrypts the password captured by AM during authentication, and stores it in a session property. IG looks up the property, decrypts it, and replays the password. For an example, see [Get login credentials from AM](../gateway-guide/credentials-am.html). |

Generates a DES key for use with AM.

## Usage

```json
{
    "name": string,
    "type": "DesKeyGenHandler"
}
```

## More information

[org.forgerock.openig.handler.DesKeyGenHandler](../_attachments/apidocs/org/forgerock/openig/handler/DesKeyGenHandler.html)
