Page created: 6 Aug 2020 |
Page updated: 1 Feb 2021
You can configure any number of access token validators for PingDirectoryProxy Server.
Each access token validator possesses an evaluation order index, an integer that determines its processing priority when multiple access token validators are configured. Lower values are processed before higher values.
- If an incoming HTTP request contains an access token, the token is sent to the access token validator with the lowest evaluation order index.
- The access token validator validates the access token. Validation logic varies
by access token validator type, but the validator generally verifies the
- A trusted source issued the token.
- The token is not expired.
- If the access token contains a subject, the access token validator uses its identity mapper to find a matching LDAP entry.
- If the access token validator is unable to validate the access token, it passes the token to the access token validator with the next lowest evaluation order index, and the previous two steps are repeated.
- HTTP request processing continues, and the policy request is sent to the HTTP service, such as the Directory REST API, for further evaluation.
- Using either the access token claims parsed by the access token validator or the LDAP entry found by the identity mapper, the HTTP service determines whether the request should be accepted and which access control rules should be applied. This access control behavior varies by each HTTP service.
Access tokens issued using the OAuth 2 client credentials grant type are issued directly to a client and do not contain a subject. Such tokens cannot be accepted by PingDirectory Server.