Advanced Access Configuration
You can customize the following fields inside the pgx_realm
block in the pgx.conf
file to customize login behavior.
Table 12-4 Advanced Access Configuration Options
Field Name | Description | Default |
---|---|---|
token_expiration_seconds |
After how many seconds the generated bearer token will expire. | 3600 (1 hour) |
refresh_time_before_token_expiry_seconds |
After how many seconds a token is automatically
refreshed before it expires. Note that this value must always be less
than the token_expiration_seconds value.
|
1800 |
connect_timeout_milliseconds |
After how many milliseconds an connection attempt to the specified JDBC URL will time out, resulting in the login attempt being rejected. | 10000 |
max_pool_size |
Maximum number of JDBC connections allowed per user. If the number is reached, attempts to read from the database will fail for the current user. | 64 |
max_num_users |
Maximum number of active, signed in users to allow. If this number is reached, the graph server will reject login attempts. | 512 |
max_num_token_refresh |
Maximum amount of times a token can be automatically refreshed before requiring a login again. | 24 |
Note:
The preceding options work only if the realm implementation is configured to be oracle.pg.identity.DatabaseRealm
.
Parent topic: User Authentication and Authorization