Repository navigation
Conversation
DocumentationThe PR requires some documentation. DesignThe PR follows the design described in FAPI-SIG's meeting. Error handlingThis executor for a reference type token treats errors in the same way as the current ordinary self-contained type token. Notice - order of executionThis executor must be executed at the head before execution of other profiles/policies because these existing profiles/executors/policies/conditions treats tokens as a self-contained type token. Extensibility - the way of converting a self-contained type token and a reference type tokenThe PR allows users to implement their own way of converting a self-contained type token and a reference type token by implementing a class extending the executor or its abstract class executor. As a reference implementation, the PR includes the executor that converts a self-contained type token and a reference type token by accessing endpoints of an external token store in REST API manner. For example, the user can implement the executor that converts a self-contained token and a reference type token by accessing RDB, Redis cache server, and so on. Extensibility - the way of verifying URLs of an external token storeThe executor implements verification method for URLs of an external token store (checking whether the URL starts with http:// or https://). Users can implement their own URL verification logic by implementing a class extending the executor. Extensibility - the way of creating a reference tokenThe executor implements the method for creating a reference token as "jti" field's value of a self-contained type token. Users can implement their own logic for creating a reference type token by implementing a class extending the executor. For example, a user can implement the logic that creates a reference type token including time when the token was generated. |
|
Added comment to the discussion #19649 |
|
close it because we could take other ways described the issue to do it. |
Closes #19650