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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 #### 5: Load the protected page | 56 #### 5: Load the protected page |
57 | 57 |
58 - Go to <http://localhost:8080> | 58 - Go to <http://localhost:8080> |
59 - The page will display whether or not it managed to talk to the SPNEGO | 59 - The page will display whether or not it managed to talk to the SPNEGO |
60 authenticator | 60 authenticator |
61 | 61 |
62 | 62 |
63 ### SpnegoAuthenticator | 63 ### SpnegoAuthenticator |
64 | 64 |
65 This app declares and sets up an account type to be used for Negotiate auth. | 65 This app declares and sets up an accounts to be used for Negotiate auth, as |
66 When Chrome makes a request for the `org.chromium.tools.SpnegoAuthenticator` | 66 described in the chromium.org wiki |
67 account type, it returns the dummy account, allowing Chrome to continue the | 67 ([Writing a SPNEGO Authenticator for Chrome on Android][crwiki]). |
68 request. | 68 Those accounts use the type `org.chromium.tools.SpnegoAuthenticator`. |
69 | 69 |
70 See [Writing a SPNEGO Authenticator for Chrome on Android][crwiki] on | 70 ![Account administration activity preview][screenshot] |
71 chromium.org for more information. | 71 |
| 72 Features: |
| 73 |
| 74 - Set up up to 2 accounts. |
| 75 - Account 1 will start authenticated. |
| 76 - Account 2 will start unauthenticated. The first token request will require |
| 77 an additional confirmation step. |
| 78 - Accounts can be added and removed from the Android account settings screen |
72 | 79 |
73 [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 |
74 [testdpc-gh]: https://github.com/googlesamples/android-testdpc | 81 [testdpc-gh]: https://github.com/googlesamples/android-testdpc |
75 [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 |
OLD | NEW |