To deploy the server to Tomcat, place a copy of the generated .war file in the appropriate Tomcat webapps directory, such as:
cp openid-connect-server-webapp/target/openid-connect-server.war /var/lib/tomcat6/webapps
After verifying that your OpenID Connect webapp is up and running, navigate to Home > Self-service Client Registration and click on New Client to add Artifactory:
Fill out the client (Artifactory) configuration fields and click Save: It’s very important to save the generated information such as (Will be later used in Artifactory)