# OATH Software (oathsw)

{% tabs %}
{% tab title="Properties" %}

<table><thead><tr><th width="242">Name</th><th width="225">Description</th><th width="98">Default</th><th data-type="checkbox">Mandatory</th></tr></thead><tbody><tr><td>enabled</td><td></td><td>true</td><td>false</td></tr><tr><td>token_issuer</td><td></td><td></td><td>true</td></tr><tr><td>active_token_duration</td><td></td><td></td><td>true</td></tr><tr><td>totp_max_drift</td><td></td><td></td><td>true</td></tr><tr><td>hotp_max_lookahead</td><td></td><td></td><td>true</td></tr><tr><td>max_active_tokens</td><td>Max number of active tokens per user</td><td>no limit</td><td>false</td></tr></tbody></table>

{% endtab %}

{% tab title="Example" %}

```json
{
  "name": "TokensDb",
  "config": {
    "db_driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
    "jdbc": {
      "url": "jdbc:sqlserver://172.16.238.15:1433;database=fortifiedid_tokens;encrypt=false",
      "username": "sa",
      "password": "yourStrong(!)Password"
    },
    "namespace": "default",
    "secret_key_directory": "resources/secrets",
    "encryption_key": "secret secret",
    "maintenance_batch_size": 31,
    "inactive_token_duration": "PT5M",
    "otp_cache_max_age_seconds": 3600,
    "oathsw": {
      "enabled": true,
      "token_issuer": "Example Org.",
      "active_token_duration": "P180D",
      "totp_max_drift": 3,
      "hotp_max_lookahead": 3
    },
    "oathhw": {
      "enabled": false
    },
    "webauthn": {
      "enabled": false
    }
  }
}
```

{% endtab %}
{% endtabs %}
