次の方法で共有


Local Authentication Plugin (LAP) Test (Compact 2013)

3/26/2014

The Local Authentication Plugin (LAP) Test verifies that an installed LAP supports basic functionality used by the Local Authentication Subsystem. The test lists the registry settings for all LAPs, verifies that required functions are exported in the library, and makes calls to those functions.

The LAP test does not verify the security or the integrity of the LAP. It only checks whether it is meets the minimum requirements by the operating system.

Test Prerequisites

Your device must meet the following requirements before you run this test.

There are no specific hardware requirements for this test. If the local authentication plugin being tested requires specialized hardware, then such hardware must be present.

The following tables show the software requirements for the Local Authentication Plugin Test.

Requirements

Description

Tux.exe

Test harness, required for executing the test

Kato.dll

Logging engine, required for logging test data

Laptest.dll

Library containing the test file

Subtests

The table below lists the subtests included in this test.

SubTest ID

Description

1

Lists all LAPs installed in the system. The test prints out registry information. It does not check the existence or integrity of the libraries.

101

Lists all available AEs and their values. The test prints out registry information. The test only prints out String and Numeric Values.

201

Loads the active LAP and calls its InitLAP and DeinitLAP functions.

301

Loads the active LAP, calls InitLAP, CreateEnrollmentDialog, and DeinitLAP. The test will report the return value of the CreateEnrollmentDialog function; however, it does not expect it to return TRUE.

401

Loads the active lap, calls InitLAP, VerifyUser, and DeinitLAP. The test will report the return value of VerifyUser, and expects it to return TRUE; if it returns FALSE, the test will report a failure. This test case uses AE_EVERY_TIME as the AE.

Setting Up the Test

This test has no additional requirements beyond the standard test environment setup.

Running the Test

Command Line Parameters for the Local Authentication Plugin Test

To run a specific test, use "tux -o -d laptest -x [test_case_number]". There are no other command line parameters for this test.

Verifying the Test

When the test completes running, verify that "PASS" appears in the test log for all subtests.

Troubleshooting the Test

Depending on the active LAP, the test may require user interaction. There is no timeout value set in the test itself. User interface and hardware requirements depend on the active LAP.

See Also

Other Resources

Security Tests