-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 3353-batch-job-import
Resolved Conflicts: src/main/java/edu/harvard/iq/dataverse/authorization/providers/builtin/DataverseUserPage.java
- Loading branch information
Showing
225 changed files
with
15,058 additions
and
2,142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@startuml | ||
actor user | ||
participant DataverseUserPage as page | ||
participant "provider: AuthenticationProvider" as prv | ||
participant AuthenticationServiceBean as authSvc | ||
user --> page: HTTP GET | ||
== page init == | ||
... | ||
page -> authSvc : lookupProvider(session.user) | ||
activate authSvc | ||
page <-- authSvc: provider | ||
deactivate authSvc | ||
... | ||
|
||
== Can Update User? == | ||
page -> prv: isUserInfoUpdateAllowed() | ||
activate prv | ||
page <-- prv: true/false | ||
deactivate prv | ||
... | ||
|
||
== Save User == | ||
user --> page: save() | ||
page -> page: udi = createUserDisplayInfo() | ||
page -> prv: updateUserInfo( udi ) | ||
page -> authSvc: updateAuthentictedUser( session.user, udi ) | ||
|
||
@enduml |
5 changes: 5 additions & 0 deletions
5
doc/sphinx-guides/source/_static/installation/files/etc/shibboleth/shibAuthProvider.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"id":"shib", | ||
"factoryAlias":"shib", | ||
"enabled":true | ||
} |
8 changes: 8 additions & 0 deletions
8
doc/sphinx-guides/source/_static/installation/files/root/auth-providers/github.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"id":"github", | ||
"factoryAlias":"oauth2", | ||
"title":"GitHub", | ||
"subtitle":"", | ||
"factoryData":"type: github | userEndpoint: NONE | clientId: FIXME | clientSecret: FIXME", | ||
"enabled":true | ||
} |
8 changes: 8 additions & 0 deletions
8
doc/sphinx-guides/source/_static/installation/files/root/auth-providers/google.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"id":"google", | ||
"factoryAlias":"oauth2", | ||
"title":"Google", | ||
"subtitle":"", | ||
"factoryData":"type: google | userEndpoint: NONE | clientId: FIXME | clientSecret: FIXME", | ||
"enabled":true | ||
} |
8 changes: 8 additions & 0 deletions
8
doc/sphinx-guides/source/_static/installation/files/root/auth-providers/orcid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"id":"orcid", | ||
"factoryAlias":"oauth2", | ||
"title":"ORCID", | ||
"subtitle":"", | ||
"factoryData":"type: orcid | userEndpoint: https://api.orcid.org/v1.2/{ORCID}/orcid-profile | clientId: FIXME | clientSecret: FIXME", | ||
"enabled":true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.