Repository navigation
Expand file tree
/
Copy pathINSTALL
More file actions
123 lines (76 loc) · 3.06 KB
/
Copy pathINSTALL
File metadata and controls
123 lines (76 loc) · 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.... OpenID4Java Library - INSTALL
========================================================================
INSTALLATION AND USAGE INSTRUCTIONS
Introduction:
This document describes how to build and use the OpenID4Java library.
For general information about the package please see the README.md file.
Requirements:
- JDK 17 or newer. The build is tested on JDK 17, 21 and 25.
- Maven 3.9 or newer.
Building:
Run the full build and test suite:
mvn clean verify
This produces:
target/openid4java-<version>.jar
target/openid4java-<version>-sources.jar
target/openid4java-<version>-javadoc.jar
To install the artifacts into the local Maven repository:
mvn install
Using the library:
Add the dependency to your project:
<dependency>
<groupId>com.amarulasolutions</groupId>
<artifactId>openid4java</artifactId>
<version>2.0.0</version>
</dependency>
The Amarula Solutions fork is published to GitHub Packages. Add the
repository to your project:
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/amarula/openid4java</url>
</repository>
</repositories>
GitHub Packages requires authentication. Add a server entry to
~/.m2/settings.xml with your GitHub username and a personal access
token that has the read:packages scope:
<servers>
<server>
<id>github</id>
<username>YOUR_GITHUB_USERNAME</username>
<password>YOUR_PAT</password>
</server>
</servers>
The core dependencies are resolved transitively by Maven.
For Jenkins plugins, use the shaded artifact:
<dependency>
<groupId>com.amarulasolutions</groupId>
<artifactId>openid4java-shaded</artifactId>
<version>2.0.0</version>
</dependency>
Its third-party packages are relocated under org.openid4java.shaded.*;
commons-codec is an external dependency and slf4j-api is provided by
the runtime (Jenkins provides it).
The Spring JDBC and Ehcache integrations are optional. Add spring-jdbc
or ehcache explicitly when using JdbcConsumerAssociationStore,
JdbcServerAssociationStore, JdbcNonceVerifier or EhcacheNonceVerifier.
Logging uses Apache Commons Logging.
Usage examples:
See README.md and the Javadoc overview for the Relying Party and
OpenID Provider usage patterns.
A complete Relying Party implementation is in:
test/src/org/openid4java/consumer/SampleConsumer.java
A complete Provider implementation is in:
test/src/org/openid4java/server/SampleServer.java
Samples:
See samples/README for the available sample projects.
Contacts:
For support and general discussion, subscribe to the Google Group:
http://groups.google.com/group/openid4java
Thanks for running OpenID!
========================================================================
Copyright 2006-2008 Sxip Identity Corporation
OpenID
=> http://openid.net/
Released under the Apache License 2.0
=> see LICENSE