You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,18 +43,22 @@ A legacy version can be found at [CAS Overlay](https://github.com/CenterForOpenS
43
43
44
44
OSF CAS requires a working OSF running locally. Refer to OSF's [README-docker-compose.md](https://github.com/CenterForOpenScience/osf.io/blob/develop/README-docker-compose.md) for how to set up and run OSF with `docker-compose`. Must disable `fakeCAS` to free port `8080`.
45
45
46
-
Related settings in `cas.propeties`can be found [here](https://github.com/cslzchen/osf-cas/blob/f9a9e459248b4a28f6d5f84963e3265330436276/etc/cas/config/cas.properties#L52-L59).
46
+
In `cas.propeties`, global JDBC settings can be found [here](https://github.com/cslzchen/osf-cas/blob/21bb277cc38b3364fd67a632c0bc7b7a6ffc9efd/etc/cas/config/cas.properties#L69-L73) and JPA specific settings can be found [here](https://github.com/cslzchen/osf-cas/blob/21bb277cc38b3364fd67a632c0bc7b7a6ffc9efd/etc/cas/config/cas.properties#L54-L60).
47
47
48
48
## CAS DB
49
49
50
-
OSF CAS is configured to use the [JPA Ticket Registry](https://apereo.github.io/cas/6.2.x/ticketing/Configuring-Ticketing-Components.html#ticket-registry) for durable ticket storage. Thus, a relational database is required. Set up a `PostgreSQL@9.6` server and update *JPA Ticket Registry*[settings](https://github.com/cslzchen/osf-cas/blob/f9a9e459248b4a28f6d5f84963e3265330436276/etc/cas/config/cas.properties#L67-L110) in `cas.propeties` accordingly. Must use a port other than the already occupied `5432`.
50
+
OSF CAS is configured to use the [JPA Ticket Registry](https://apereo.github.io/cas/6.2.x/ticketing/Configuring-Ticketing-Components.html#ticket-registry) for durable ticket storage. Thus, a relational database is required. Set up a `PostgreSQL@9.6` server and update *JPA Ticket Registry*[settings](https://github.com/cslzchen/osf-cas/blob/21bb277cc38b3364fd67a632c0bc7b7a6ffc9efd/etc/cas/config/cas.properties#L65-L113) in `cas.propeties` accordingly. Must use a port other than the already occupied `5432`.
51
+
52
+
## Signing and Encryption Keys
53
+
54
+
Refer to [settings](https://github.com/cslzchen/osf-cas/blob/21bb277cc38b3364fd67a632c0bc7b7a6ffc9efd/etc/cas/config/cas.properties#L117-L133) in `cas.properties` for signing and encrypting client session and ticket granting cookie.
51
55
52
56
## Authentication Delegation
53
57
54
58
### ORCiD Login
55
59
56
60
Set up a developer app at [ORCiD](https://orcid.org/developer-tools) with `http://localhost:8080/login` and `http://192.168.168.167:8080/login` as *redirect URIs*. Update
57
-
`cas.authn.pac4j.orcid.id` and `cas.authn.pac4j.orcid.secret` in `cas.properties`[settings](https://github.com/cslzchen/osf-cas/blob/f9a9e459248b4a28f6d5f84963e3265330436276/etc/cas/config/cas.properties#L163-L164).
61
+
`cas.authn.pac4j.orcid.id` and `cas.authn.pac4j.orcid.secret` in `cas.properties`[settings](https://github.com/cslzchen/osf-cas/blob/21bb277cc38b3364fd67a632c0bc7b7a6ffc9efd/etc/cas/config/cas.properties#L186-L192).
58
62
59
63
### `fakeCAS` Login
60
64
@@ -72,7 +76,7 @@ fakecas:
72
76
stdin_open: true
73
77
```
74
78
75
-
Related settings in `cas.propeties` can be found [here](https://github.com/cslzchen/osf-cas/blob/f9a9e459248b4a28f6d5f84963e3265330436276/etc/cas/config/cas.properties#L171-L174).
79
+
Related settings in `cas.propeties` can be found [here](https://github.com/cslzchen/osf-cas/blob/21bb277cc38b3364fd67a632c0bc7b7a6ffc9efd/etc/cas/config/cas.properties#L196-L199).
0 commit comments