Low-voltage path · Division 9: Access installation and integration · Lesson 168

Test granted denied and expired credentials

Free for apprenticesRead it or play it. No card, no account, nothing to cancel.
Test granted denied and expired credentials

What you should be able to do

Test three controlled credential cases on an isolated trainer and explain why each result occurred. Separate credential recognition, authorization, validity, output behavior and physical entry.

Training boundary

Use instructor-approved test identities and credentials with no production door or release circuit connected. Never borrow a real person's badge to improvise a test. Confirm the trainer's configuration and time settings before starting. Keep credential secrets out of the worksheet and screenshots.

Teaching narration

An access decision depends on several conditions. The reader must provide a usable credential to the controller. The credential must have the required validity and the applicable access rules must authorize that opening at that time. Additional configured requirements can affect the decision. Do not interpret every red light or beep as the same failure.

Axis Secure Entry documentation distinguishes credential start/end validity from access rules, which connect cardholders or groups to doors or zones and schedules. It also supports several expiration methods. For this exercise use a fixed, documented expiration instant so the expected condition is clear. Do not substitute first-use or last-use expiry unless the instructor has designed that separate test. [1]

Prepare a small test table with expected results before presenting any card. Confirm each enrolled credential's unique training label, the intended reader and opening, effective permissions, schedule, validity and controller time. Confirm that updates have reached the trainer. Identify and remove unintended test overrides through the authorized configuration process; do not disable required safeguards.

Original cases

A: a known enrolled test credential is current and allowed at the selected opening and time. With all other required conditions met, expect a grant. B: a second known enrolled credential is current but has no applicable permission for this opening. With the other test conditions controlled, expect a denial due to missing authorization. C: a known enrolled credential has passed its fixed expiry. It otherwise has the same required permission and schedule as a valid comparison case. Expect a denial after expiration.

An expired credential is itself a denial case. The title's three categories are teaching cases, not three mutually exclusive event types in every system. The actual event name or reason field depends on the product and integration.

Perform and observe

Present only the intended credential for the current case. Record the test label, opening, timestamp and time zone, expected decision, actual decision and available reason. Observe the trainer's configured output separately. A software grant does not prove a person passed through a door, and a denial does not prove a real door was physically closed or locked.

Axis event documentation distinguishes access-granted and access-denied events and includes several denial categories. Use the actual system's event details rather than inventing a universal "expired" message. A generic denial supports only the limited conclusion that access was denied. Establishing why may require comparing configuration, time and more detailed diagnostics. [2]

Expiry verification

For a stronger expiry test, the instructor can use the same isolated test credential before and after its documented expiry, without changing its door permission or moving the controller clock. Confirm the platform's boundary semantics and test clearly on either side rather than exactly on an ambiguous timestamp. Account for the relevant time zone and propagation state. Keep the trainer disconnected from production outputs throughout the exercise.

Original scenario

Test C is labelled "expired" in the worksheet. The event instead says the credential is unknown. The learner proposes marking expiration as passed because access was denied. That is incorrect: an enrollment or identification problem could have caused the denial before expiry was evaluated. Correct the setup, verify recognition through the authorized process, and repeat the controlled expiry test. Retain both the original failure and the retest result.

Troubleshooting discipline

Change one test condition at a time. Check the presented credential, format, reader association, enrollment, time, membership, rule and update status. Do not grant all-day access to every door merely to obtain a green indication. If a supposedly prohibited test grants access, preserve the event and inspect all effective permissions and overrides. The expected result written on paper does not overrule what the system actually did.

Supervised practice

Build the three cases in a mock configuration, with instructor approval. Have a second learner check the expected-result table before running them. Record both a positive test and the two controlled negative tests. Discuss what each result proves and what remains untested, such as mechanical release, egress or network-outage behavior. Afterward, remove or disable temporary test credentials and permissions as directed. Preserve a non-secret test report and document cleanup. Do not leave a test credential in an operating system.

Knowledge check

  1. Is an expired credential normally a denial case?

Answer: Yes, when its validity is enforced under the tested configuration.

  1. Does an unknown-credential denial prove expiry enforcement?

Answer: No.

  1. Why verify time first?

Answer: Validity and schedule decisions depend on the system's time basis.

  1. Does a grant prove physical entry?

Answer: No.

  1. What makes the negative cases useful?

Answer: Controlled conditions and evidence that supports the intended reason.

Where beginners go wrong

Mistake: Passing the expiry case because an unknown-credential event denied entry. Correction: Verify enrollment and recognition, then repeat the controlled expiry test and retain both the initial failure and retest evidence.

Mistake: Comparing a valid card with an expired card that also lacks door permission. Correction: Control the other required conditions so the expiry comparison isolates validity rather than introducing another reason for denial.

Mistake: Running the expiry test exactly at a timestamp whose boundary semantics are undocumented. Correction: Confirm the platform's time basis and expiry behavior and test clearly before and after the specified instant without moving the controller clock.

Mistake: Replacing an unexpected grant with the expected denial in the worksheet. Correction: Preserve the actual grant and event evidence, inspect effective permissions and overrides, and document the authorized correction and retest.

Primary sources consulted 2026-09-30

[1] Axis Communications, AXIS Camera Station Pro Secure Entry, Add credentials and Add an access rule. https://help.axis.com/en-us/axis-camera-station-secure-entry [2] Axis Communications, VAPIX Event logger service. https://developer.axis.com/vapix/physical-access-control/event-logger-service/

What The Reader Hands The Controller

A denial reporting an unknown credential is often not a story about enrolment at all. It is a story about how many bits arrived and how many the controller was told to expect.

One common card format is 26 bits wide, and the bits are not all card number. A single bit at each end carries parity, 8 bits carry a facility or site code, and the remaining 16 bits carry the card number. Those widths explain why the numbers you see behave as they do. 16 bits of card number allows 65536 distinct values and 8 bits of facility code allows 256 of them. Two cards issued to different sites can therefore carry the same printed card number and differ only in the facility code, so a system configured to ignore the facility code treats them as one credential while a system that reads it treats them as two.

Now change the credential. A 35-bit credential presented to a reader and controller configured for a 26-bit format delivers 35 bits where 26 are expected. The controller does not receive a wrong card number so much as a number it cannot take apart, and what it reports is a credential it does not recognise. Nothing is wrong with the card, the reader, the wiring or the enrolment record.

So before testing enrolment, write down the format each test credential actually is and the format the reader and controller are configured for. If those two disagree you already know the outcome of your expiry test, and it will have nothing to do with validity dates.

Count The Combinations, Then Choose Five

The three cases in this lesson are a subset of a larger grid, and knowing the size of the grid keeps you honest about what was tested.

With 3 test credentials, 2 openings and 2 time windows, the full cross is 3 times 2 times 2, which is 12 tests. At 4 minutes each, including resetting the trainer and writing the row, the full grid is 48 minutes of bench time. The three cases already described are 3 of those 12, and they were chosen because each changes exactly one factor away from the grant case.

Build the sheet before presenting any card, and build it as a grid rather than a list so the empty boxes are visible. Then choose which boxes you will fill. A defensible minimum here is 5: the grant, the missing-authorisation denial, the expired denial, the same expired credential tested well before its expiry instant, and one credential at the second opening to show the result follows the rule rather than the reader. Every remaining box is written not tested in the report, and that phrase is a result rather than an admission.

Have a second learner read the grid and hunt for a row where two factors change at once. That row is the one which will produce a result nobody can explain. Fix it on paper, where fixing it costs a pencil, rather than discovering it after the card has been presented and the log already holds something you now have to explain away.

Signatures That Tell You Where To Look

Each failure in this chain leaves a different trace, and learning the traces turns a denial into a direction.

No event at the host at all, with the reader lit. The controller never heard anything, so the question is the reader-to-controller path rather than any credential setting. Present the card 3 times and confirm 0 events before going further.

An event carrying no card number. Something arrived and could not be read. Look at the credential technology and the reader's configured format rather than at the cardholder record.

An event carrying a card number and reporting an unrecognised credential. The read worked and the lookup failed, so the candidates are the format width, the facility-code handling and the enrolment record, in that order, because the first two are quicker to check.

An event naming the cardholder and denying the opening. Recognition and enrolment are both sound, so the question is authorisation, time, or whether the change you made ever reached this controller.

One presentation producing 2 events, or 3 presentations producing 1. That is counting behaviour rather than decision behaviour, and it points at a repeat-read interval or a passback rule rather than at the card.

Write the signature you observed beside the row before forming an opinion. A record that says denied tells the next technician nothing. A record that says denied with the cardholder named and the opening stated puts them on the right page of the configuration in one step.

Also working toward the electrician journeyman licence? Take the free 15-question readiness check

Texas journeyman, 15 questions, scored by topic against the 70% mark. No card, and no account needed to start.

Free study material for low-voltage apprentices. This is a national foundation course: requirements differ by state and by local jurisdiction, and a practice that is common in one place is not a rule everywhere. Nothing here is a licence, a certification, or authority to work unsupervised, and completing it does not count as apprenticeship hours or continuing-education credit. Check the codes adopted where you are working, the licensing authority for that work, and your employer's safety programme. VoltMark is not affiliated with, endorsed by, or sponsored by NFPA, OSHA, NICET, BICSI, FOA, or any state or local licensing authority.

—
Help