{"id":19411621,"url":"https://github.com/duosecurity/duo_universal_java","last_synced_at":"2025-04-06T11:08:41.324Z","repository":{"id":47079523,"uuid":"304481434","full_name":"duosecurity/duo_universal_java","owner":"duosecurity","description":"Duo OIDC-based two-factor authentication for Java web applications","archived":false,"fork":false,"pushed_at":"2025-02-07T22:25:58.000Z","size":118,"stargazers_count":16,"open_issues_count":4,"forks_count":23,"subscribers_count":33,"default_branch":"main","last_synced_at":"2025-03-30T10:06:52.572Z","etag":null,"topics":["duo","java","mfa"],"latest_commit_sha":null,"homepage":"https://duo.com/docs/duoweb","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duosecurity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-16T00:45:39.000Z","updated_at":"2025-03-29T20:29:51.000Z","dependencies_parsed_at":"2022-08-27T20:03:39.875Z","dependency_job_id":"3c674234-827c-4751-8d17-a622fc96cf4e","html_url":"https://github.com/duosecurity/duo_universal_java","commit_stats":{"total_commits":57,"total_committers":8,"mean_commits":7.125,"dds":"0.49122807017543857","last_synced_commit":"e0d57ce911c5c8ac2bbdc22517e6dbceb25efa0b"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duosecurity%2Fduo_universal_java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duosecurity%2Fduo_universal_java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duosecurity%2Fduo_universal_java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duosecurity%2Fduo_universal_java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duosecurity","download_url":"https://codeload.github.com/duosecurity/duo_universal_java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471520,"owners_count":20944158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["duo","java","mfa"],"created_at":"2024-11-10T12:22:23.401Z","updated_at":"2025-04-06T11:08:41.306Z","avatar_url":"https://github.com/duosecurity.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duo Universal Prompt Java Client\n\n[![Build Status](https://github.com/duosecurity/duo_universal_java/workflows/Build%20and%20Test%20with%20Maven/badge.svg)](https://github.com/duosecurity/duo_universal_java/actions)\n[![Issues](https://img.shields.io/github/issues/duosecurity/duo_universal_java)](https://github.com/duosecurity/duo_universal_java/issues)\n[![Forks](https://img.shields.io/github/forks/duosecurity/duo_universal_java)](https://github.com/duosecurity/duo_universal_java/network/members)\n[![Stars](https://img.shields.io/github/stars/duosecurity/duo_universal_java)](https://github.com/duosecurity/duo_universal_java/stargazers)\n[![License](https://img.shields.io/badge/License-View%20License-orange)](https://github.com/duosecurity/duo_universal_java/blob/master/LICENSE)\n\n\nThis library allows a web developer to quickly add Duo's interactive, self-service, two-factor authentication to any Java web login form.\n\nSee our developer documentation at http://www.duosecurity.com/docs/duoweb for guidance on integrating Duo 2FA into your web application.\n\nWhat's here:\n* `duo-universal-sdk` - The Duo SDK for interacting with the Duo Universal Prompt\n* `duo-example` - An example web application with Duo integrated\n\n# Usage\nThis library requires Java 8 or later (tested through Java 16) and uses Maven to build the JAR files.\n\nRun `mvn package` to generate a JAR with dependencies, suitable for inclusion in a web application.\n\nThe Duo Universal Client for Java is available from Duo Security on Maven.  Include the following in your dependency definitions:\n```\n\u003c!-- https://mvnrepository.com/artifact/com.duosecurity/duo-universal-sdk --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.duosecurity\u003c/groupId\u003e\n    \u003cartifactId\u003eduo-universal-sdk\u003c/artifactId\u003e\n    \u003cversion\u003e1.2.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\nSee https://mvnrepository.com/artifact/com.duosecurity/duo-universal-sdk/1.2.0 for more details.\n\n## TLS 1.2 and 1.3 Support\n\nDuo_universal_java uses the Java cryptography libraries for TLS operations. Both TLS 1.2 and 1.3 are supported by Java 8 and later versions.\n\n# Demo\n\n## Build\n\nFrom the root directory run:\n\n`mvn clean install`\n\n## Run\n\nIn order to run this project, ensure the values in `application.properties` are filled out with the values\nfrom the Duo Admin Panel (clientId, clientSecret, api.host, and redirect.uri)\n\nFrom the root of the `duo-example` project run the following to start the server:\n`mvn spring-boot:run`\n\nNavigate to \u003chttp://localhost:8080\u003e to see a mock user login form.  Enter a Duo username and any password to initiate Duo 2FA.\n\n# Testing\n\nFrom the root directory run:\n\n`mvn test`\n\n# Linting\n\nFrom the root directory run:\n\n`mvn checkstyle:check`\n\n# Support\n\nPlease report any bugs, feature requests, or issues to us directly at support@duosecurity.com.\n\nThank you for using Duo!\n\nhttp://www.duosecurity.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduosecurity%2Fduo_universal_java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduosecurity%2Fduo_universal_java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduosecurity%2Fduo_universal_java/lists"}