What is authentication in a java standalone application?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 08:48 AM
For example, try swing, swt, rcp, and so on using duo. I tried to run it using https://github.com/duosecurity/duo_client_java, but I get the following error:
Duo Verify Demo
org.apache.commons.cli.MissingOptionException: Missing required options: host, ikey, skey, username
at org.apache.commons.cli.Parser.checkRequiredOptions (Parser.java:299)
at org.apache.commons.cli.Parser.parse (Parser.java:231)
at org.apache.commons.cli.Parser.parse (Parser.java:85)
at com.duosecurity.example.DuoVerify.main (DuoVerify.java:48)
Missing required options: host, ikey, skey, username
usage: DuoVerify
-help Print this message
-host ■■■■■■■■■■■■■■■■■■■■■■■■■■
-ikey xxxxxxxxxxx
-skey xxxxxxxxxxxxx
-username hanxxxxxxxxxxx@gmail.com
Please give me the appropriate example.
- Labels:
-
API - General

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 12:45 PM
Hello HyunJong_Cho!
What exactly are you trying to accomplish? Have you reviewed our Auth API documentation? The ikey/skey/akey are obtained from the Duo Admin Panel and configured within your application, as described here.
Note that we no longer offer the Verify API, so it’s not possible to demo those endpoints (which looks like what you’re trying).
