This example shows how to create an assessment plug-in that verifies a client's MAC address.
The following picture shows the classes in this package.
The plug-in retrieves the MAC address of the connecting client and validates the address against a pre-defined list of authorized client MAC addresses. If an address match is identified in the authorized MAC address list, the client is allowed access to the protected resource. If the client's MAC address is not authorized, the request is rejected. The plug-in is also an example on how to add information in the policy sent to the client.
Follow these links to see the source code for this example: