OLD | NEW |
1 ## Kerberos Test Utils | 1 ## Kerberos Test Utils |
2 | 2 |
3 Simple app and scripts used to test Kerberos auth on Chrome and WebView. | 3 Simple app and scripts used to test Kerberos auth on Chrome and WebView. |
4 | 4 |
5 | 5 |
6 ### Setup | 6 ### Setup |
7 | 7 |
8 #### 1: Build and install the authenticator app | 8 #### 1: Build and install the authenticator app |
9 | 9 |
10 See the next section for more info about the app. | 10 See the next section for more info about the app. |
(...skipping 17 matching lines...) Expand all Loading... |
28 $CHROMIUM_SRC/build/android/adb_chrome_public_command_line \ | 28 $CHROMIUM_SRC/build/android/adb_chrome_public_command_line \ |
29 '--auth-server-whitelist="*" \ | 29 '--auth-server-whitelist="*" \ |
30 --auth-spnego-account-type="org.chromium.tools.SpnegoAuthenticator"' | 30 --auth-spnego-account-type="org.chromium.tools.SpnegoAuthenticator"' |
31 ``` | 31 ``` |
32 | 32 |
33 - By setting policies | 33 - By setting policies |
34 | 34 |
35 The policies to set are: | 35 The policies to set are: |
36 | 36 |
37 * AuthServerWhitelist: `*` | 37 * AuthServerWhitelist: `*` |
38 * AuthSpnegoAccountType: `org.chromium.tools.SpnegoAuthenticator` | 38 * AuthAndroidNegotiateAccountType: `org.chromium.tools.SpnegoAuthenticato
r` |
39 | 39 |
40 To set them you have to be able to set restrictions for apps on the device. | 40 To set them you have to be able to set restrictions for apps on the device. |
41 This can be achieved using the TestDPC app ([Play store][testdpc-play], | 41 This can be achieved using the TestDPC app ([Play store][testdpc-play], |
42 [Github][testdpc-gh]), which is made for testing enterprise related Android | 42 [Github][testdpc-gh]), which is made for testing enterprise related Android |
43 features, including app restrictions. | 43 features, including app restrictions. |
44 | 44 |
45 Set it up, then search for Chrome under "Manage app restrictions", tap | 45 Set it up, then search for Chrome under "Manage app restrictions", tap |
46 "Load manifest restrictions" and change the value for the restrictions | 46 "Load manifest restrictions" and change the value for the restrictions |
47 mentioned above. | 47 mentioned above. |
48 | 48 |
(...skipping 25 matching lines...) Expand all Loading... |
74 - Set up up to 2 accounts. | 74 - Set up up to 2 accounts. |
75 - Account 1 will start authenticated. | 75 - Account 1 will start authenticated. |
76 - Account 2 will start unauthenticated. The first token request will require | 76 - Account 2 will start unauthenticated. The first token request will require |
77 an additional confirmation step. | 77 an additional confirmation step. |
78 - Accounts can be added and removed from the Android account settings screen | 78 - Accounts can be added and removed from the Android account settings screen |
79 | 79 |
80 [testdpc-play]: https://play.google.com/store/apps/details?id=com.sample.android
.testdpc | 80 [testdpc-play]: https://play.google.com/store/apps/details?id=com.sample.android
.testdpc |
81 [testdpc-gh]: https://github.com/googlesamples/android-testdpc | 81 [testdpc-gh]: https://github.com/googlesamples/android-testdpc |
82 [crwiki]:https://sites.google.com/a/chromium.org/dev/developers/design-documents
/http-authentication/writing-a-spnego-authenticator-for-chrome-on-android | 82 [crwiki]:https://sites.google.com/a/chromium.org/dev/developers/design-documents
/http-authentication/writing-a-spnego-authenticator-for-chrome-on-android |
83 [screenshot]:SpnegoAuthenticator/preview.png | 83 [screenshot]:SpnegoAuthenticator/preview.png |
OLD | NEW |