AuthMatch.java revision 866c5b061e6e762f2627e3467afc0fe6f29c2668
1package com.android.server.wifi.hotspot2;
2
3/**
4 * Match score for EAP credentials:
5 * None means that there is a distinct mismatch, i.e. realm, method or parameter is defined
6 * and mismatches that of the credential.
7 * Indeterminate means that there is no ANQP information to match against.
8 * RealmOnly means that there are realm names and one of them matched but there is an empty set of
9 * EAP methods.
10 * MethodOnly means that a matching EAP method was found but with empty auth parameters for either
11 * EAP method.
12 * Exact means that an exact math of authentication parameters was found.
13 * Note: Keep the literals in order of desired preference, i.e. Qualified supposedly last.
14 */
15public enum AuthMatch {
16    None,
17    Indeterminate,
18    RealmOnly,
19    MethodOnly,
20    Exact
21}
22