This authentication sample code demonstrates the usage of the StartAuthentication API call of PingID.
Prerequisites:
- Existing organization with properties file
(can be download from the Admin Web-Portal -> Setup -> PingID -> Client Integration) - An existing user with at least one paired device.
the flow of the authentication depends on the number of devices paired for the user and the organization's configuration (e.g. multiple devices, selection mode)
How to run this sample:
- mvn install
- java -jar target/authentication-0.0.1-SNAPSHOT-jar-with-dependencies.jar /env/props/pingid.properties jdoe
DISCLAIMER: This is a simple, non-official, unsupported, main application that assumes that the inputs are correct and does no validation.