GUACAMOLE-96: Merge add support for TOTP as an additional authentication factor.
Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/9ee43e65 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/9ee43e65 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/9ee43e65 Branch: refs/heads/master Commit: 9ee43e656cd3c4ad1c43632604ce424332404ff5 Parents: e680131 608a111 Author: Nick Couchman <vn...@apache.org> Authored: Mon Feb 5 13:02:10 2018 -0500 Committer: Nick Couchman <vn...@apache.org> Committed: Mon Feb 5 13:02:10 2018 -0500 ---------------------------------------------------------------------- LICENSE | 37 ++ extensions/guacamole-auth-totp/.gitignore | 3 + extensions/guacamole-auth-totp/pom.xml | 274 +++++++++++ .../guacamole-auth-totp/src/licenses/LICENSE | 294 ++++++++++++ .../guacamole-auth-totp/src/licenses/NOTICE | 5 + .../src/licenses/bundled/README | 4 + .../licenses/bundled/aopalliance-1.0/LICENSE | 4 + .../src/licenses/bundled/guava-18.0/COPYING | 202 ++++++++ .../src/licenses/bundled/guice-3.0/COPYING | 202 ++++++++ .../bundled/javax.inject-1/LICENSE-2.0.txt | 202 ++++++++ .../bundled/totp-reference-impl-07/license.txt | 28 ++ .../src/licenses/bundled/zxing-3.3.1/LICENSE | 245 ++++++++++ .../src/main/assembly/dist.xml | 53 +++ .../auth/totp/TOTPAuthenticationProvider.java | 126 +++++ .../totp/TOTPAuthenticationProviderModule.java | 83 ++++ .../auth/totp/conf/ConfigurationService.java | 161 +++++++ .../auth/totp/conf/TOTPModeProperty.java | 62 +++ .../auth/totp/form/AuthenticationCodeField.java | 316 +++++++++++++ .../totp/user/CodeUsageTrackingService.java | 264 +++++++++++ .../guacamole/auth/totp/user/TOTPUser.java | 102 +++++ .../auth/totp/user/TOTPUserContext.java | 64 +++ .../guacamole/auth/totp/user/UserTOTPKey.java | 148 ++++++ .../auth/totp/user/UserVerificationService.java | 288 ++++++++++++ .../apache/guacamole/totp/TOTPGenerator.java | 456 +++++++++++++++++++ .../src/main/resources/config/totpConfig.js | 33 ++ .../authenticationCodeFieldController.js | 68 +++ .../src/main/resources/guac-manifest.json | 28 ++ .../src/main/resources/license.txt | 18 + .../src/main/resources/styles/totp.css | 88 ++++ .../templates/authenticationCodeField.html | 47 ++ .../src/main/resources/totpModule.js | 28 ++ .../src/main/resources/translations/en.json | 34 ++ .../guacamole/totp/TOTPGeneratorTest.java | 168 +++++++ .../src/main/webapp/app/login/styles/login.css | 2 +- pom.xml | 1 + 35 files changed, 4137 insertions(+), 1 deletion(-) ----------------------------------------------------------------------