Welcome to OA4MP! This describes the client software for the OA4MP service. It allows clients to request certificates and users to securely authorize them using the OAuth delegation protocol.
You may most easily a bare-bones version for testing by downloading the current reference war:
For many cases, this is all you need to do.Save this and deploy it to Tomcat. You may do this in several ways such as dropping the war into the $CATALINA_HOME/webapps directory. The system will not work until you have configured it then registered with an OA4MP server though.
mvn clean install
If you decide to write your own OA4MP webapp, you should use the following module:
<dependency> <artifactId>oa4mp-client-oauth2</artifactId> <groupId>edu.uiuc.ncsa.myproxy</groupId> <version>5.6</version> </dependency>
If you need to deploy this to Apache, you need to add the following to the proxy_ajp.conf file (which, e.g., lives under /etc/httpd/conf.d or perhaps /etc/apache2/conf.d in most unix distributions):
ProxyPass /client/simple ajp://localhost:8009/client/simple
Note:In the WEB-INF/web.xml file there is a section called security-constraint, which controls access to the webapp using Tomcat's SSL. This will conflict with access via Apache, so comment that section out if you are deploying to Apache. It is only needed in stand-alone Tomcat deployments.