TC_C_57_CS — Authorization through authorization cache - AuthCacheDisablePostAuthorize
TC_C_57_CS — Authorization through authorization cache - AuthCacheDisablePostAuthorize
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block C. Authorization, page 101.
Identification
| Field | Value |
|---|---|
| Test case name | Authorization through authorization cache - AuthCacheDisablePostAuthorize |
| Test case Id | TC_C_57_CS |
| Use case Id(s) | C12 |
| Requirement(s) | C12_FR_05, C10_FR_03 |
| System under test | Charging Station |
| Functional block | C. Authorization |
Description
This test case describes how the EV Driver can be authorized to start a transaction by using Cached IdTokens. This enables the EV Driver to start a transaction while the Charging Station is online by using the Authorization Cache in which case the Charging Station can respond faster, since no AuthorizeRequest is being sent. For an IdToken that does not have status "Accepted" the Charging Station will still send an AuthorizeRequest to check against the most recent status from CSMS. However, when the setting AuthCacheDisablePostAuthorize is set to true, then the Charging Station will not do this.
Purpose
To verify that the Charging Station will not send an AutorizeRequest for an IdToken in the Authorization Cache that is not "Accepted", when AuthCacheDisablePostAuthorize is set to true.
Prerequisite(s)
- AuthCacheCtrlr.Available is implemented with value true
- AuthCacheCtrlr.DisablePostAuthorize is implemented
Before (Preparations)
Configuration State:
- AuthCacheCtrlr.Enabled is true (If implemented) AuthCtrlr.LocalPreAuthorize is true (If implemented) AuthCacheCtrlr.DisablePostAuthorize is true
Memory State:
- IdTokenCached for <Configured invalid IdToken fields>
Reusable State(s):
- State is EVConnectedPreSession
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| Manual Action: Present Invalid idToken which is already configured in the Authorization Cache | |
| 1. The Charging Station does NOT send a AuthorizeRequest |
Tool validations
Step 1:
Check that Charging Station does NOT send an AuthorizeRequest and authorization is refused.
Post scenario validations
- N/a