Updated Home (markdown)

master
jricher 2012-03-29 08:37:52 -07:00
parent f6f66b33a6
commit 88b21f7c17
1 changed files with 2 additions and 20 deletions

22
Home.md

@ -1,24 +1,6 @@
Welcome to the OpenID-Connect-Java-Spring-Server wiki!
## Data Connection
### Patching Instructions ###
After cloning you'll need to patch spring_security_oauth:
cd spring_security_oauth
git apply ../upstream-patch/secoauth_183.patch
### Deployment Instructions
The project's pom file is configured to run the maven-replacer plugin. This plugin looks for a file named local-values.conf at the root of the project directory (not inside the server package, directly at OpenID-Connect-Java-Spring-Server/). This file should look like the following:
DB_URL=jdbc:mysql://msql_url
DB_USER=user
DB_PASSWORD=password
OPENID_IDENTIFIER=openid_identifier
OPENID_ROOT=root
OPENID_ADMINS=bob
with the proper values for your deployment filled in. The project will fail to build if the file cannot be found.
Since this file contains sensitive information (and will vary from deployment to deployment) it should not be checked in.
The project is configured out of the box to connect to a MySQL server running on localhost with a default database name of "oic", and a default username of "oic" with a password of "oic". To change these, edit the dataContext.xml configuration file (or use an alternative method like MVN War Overlays). Be very careful to not check in any sensitive passwords or other information (such as the connection configuration to any integration or production servers) to the repository.
## JCE