diff --git a/README.md b/README.md index 091062072..54b522e8c 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,41 @@ This project has been forked from the [MITREid Connect repository](https://githu This repository uses [Conventional Commits](https://www.npmjs.com/package/@commitlint/config-conventional). Any change that significantly changes behavior in a backward-incompatible way or requires a configuration change must be marked as BREAKING CHANGE. +# Building + +Project is built with `mvn clean package` command. Following parameters can be passed to modify the final build: + +### General properties +- location of the configuration files (path to the containing dir) : `-Dconfig.location=/etc/oidc/config` + - default: `/etc/perun` +- final build name: `-Dfinal.name=name` + - default: `oidc` + +### Logging configuration +Following are the options for customization of logging when building + +- logging style: `-Dlog.to=FILE` + - default: `FILE` + - available: `SYSLOG,FILE,ROLLING_FILE` +- logging level: `-Dlog.level=level` + - default: `info` + - available: `error,warn,info,debug,trace` +- logging to SYSLOG + - logging contextName (program name in syslog): `-Dlog.contextName=contextName` + - default: `oidc` + - logging facility: `-Dlog.facility=facility` + - default: `LOCAL7` +- logging to file + - file path specification: `-Dlog.file=/var/log/oidc` + - default: `${catalina.base}/logs/${CONTEXT_NAME}` + - file extension: `-Dlog.file-extension=debug` + - default: `log` +- logging to rolling-file + - file path specification: `-Dlog.rolling-file=/var/log/oidc` + - default: `${catalina.base}/logs/${CONTEXT_NAME}` + - file extension: `-Dlog.file-extension=debug` + - default: `log` + +## WAR file + +The result war-file is located under the `perun-oidc-server-webapp/target/{NAME}.war`. The WAR should be deployed into a tomcat. diff --git a/README_zh_CN.md b/README_zh_CN.md deleted file mode 100644 index 4933b3683..000000000 --- a/README_zh_CN.md +++ /dev/null @@ -1,38 +0,0 @@ -# MITREid Connect ---- - -[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.mitre/openid-connect-parent/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.mitre/openid-connect-parent) [![Travis CI](https://travis-ci.org/mitreid-connect/OpenID-Connect-Java-Spring-Server.svg?branch=master)](https://travis-ci.org/mitreid-connect/OpenID-Connect-Java-Spring-Server) - -此项目提供了一个业经认证的、用Java语言构筑于Spring平台之上的OpenID Connect参考实现,包括 [服务器端的实现库](openid-connect-server), [可部署的服务器包](openid-connect-server-webapp), [客户端 (RP) 的库](openid-connect-client), 以及 [工具类库](openid-connect-common)。该服务器可以用做OpenID Connect身份提供者,也可以用做一般意义上的OAuth 2.0授权服务器。 - -[![OpenID认证](https://cloud.githubusercontent.com/assets/1454075/7611268/4d19de32-f97b-11e4-895b-31b2455a7ca6.png)](https://openid.net/certification/) - -有关项目的更多信息参见: - -* [项目在GitHub上的主页 (及相关项目)](https://github.com/mitreid-connect/) -* [完整的文档](https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki) -* [Maven文档及Java API](http://mitreid-connect.github.com/) -* [问题(Issue)追踪系统 (用于报告bug及提交支持请求)](https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues) -* 项目的邮件列表: `mitreid-connect@mit.edu`, 及其 [在线存档](https://mailman.mit.edu/mailman/listinfo/mitreid-connect). - - -项目的作者及主要贡献者有: - -* [Justin Richer](https://github.com/jricher/) -* [Amanda Anganes](https://github.com/aanganes/) -* [Michael Jett](https://github.com/jumbojett/) -* [Michael Walsh](https://github.com/nemonik/) -* [Steve Moore](https://github.com/srmoore) -* [Mike Derryberry](https://github.com/mtderryberry) -* [William Kim](https://github.com/wikkim) -* [Mark Janssen](https://github.com/praseodym) - - -项目的中文译者: - -* [刘晓曦](https://github.com/liouxiao/) - - - - -版权所有 ©2018 [MIT因特网信任联盟](http://www.mit-trust.org/). 采用Apache 2.0许可证, 详见 `LICENSE.txt`. diff --git a/perun-oidc-server-webapp/pom.xml b/perun-oidc-server-webapp/pom.xml index d54d236ea..42cb3568b 100644 --- a/perun-oidc-server-webapp/pom.xml +++ b/perun-oidc-server-webapp/pom.xml @@ -38,9 +38,7 @@ ${catalina.base}/logs/${CONTEXT_NAME} ${catalina.base}/logs/${CONTEXT_NAME} - trace log - times oidc @@ -86,7 +84,6 @@ - ${final.name} src/main/resources @@ -110,7 +107,7 @@ org.apache.maven.plugins maven-war-plugin - openid-connect-server-webapp + ${final.name} src/main/webapp