Configuring the Client Credential Reset

Configure the one-click client reset in the local.properties file to customize the behaviour when resetting credentials for a client.

Context

You do not have to configure these properties as they are delivered with default values, but if you want to customize this process, you can.

Procedure

  1. Go to the project.properties file.
  2. Edit the value of the following properties:
    Property Description
    apiregistryservices.credentials.gracePeriod

    The value for grace period (in seconds). This property defines how long the credential is valid for after a new credential has been fetched. In this period, both are valid. After this period the old credential is deleted.

    The default value is 600 seconds.

    apiregistryservices.credentials.secretSize

    apiregistryservices.credentials.secretAlgorithm

    SAP recommends not changing these properties.

    The class that generates the OAuth client secret needs these values to calculate the client secret.

    The default values are as follows:
    • apiregistryservices.credentials.secretSize=256

    • apiregistryservices.credentials.secretAlgorithm=AES
  3. Save the file.