-
Notifications
You must be signed in to change notification settings - Fork 6
story #15455 feat: upgrade CAS 6 to 7 #3439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Regzox
wants to merge
76
commits into
develop
Choose a base branch
from
story_15455
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4,211
−3,953
Open
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
a6d7952
story #15455 feat: upgrade CAS 6 to 7
Regzox ae02544
story #15455: setup beans and replace client
Regzox 981a512
story #15455: presentation dlb vendredi
Regzox 9145b92
story #15455: debug
Regzox edc892c
story #15455: replace getUser by getUserByEmail
Regzox 5aab3f6
story #15455: undo xelians static resources
Regzox bc97cdb
story #15455: clean code
Regzox 45505ae
story #15455 fix: user principal resolver
Regzox 69ae66b
story #15455: bidouilles access token
Regzox bdc8a24
story #15455: xelians resources
Regzox b1d61a3
story #15455: wip to revert
Regzox d9da2e5
story #15455: wip update client oauth2 conf
Regzox 2c5c486
story #15455: cfg, css, webflow bean
Regzox 78cbc3f
story #15455: step: login works
Regzox 5a5b6dc
story #15455 wip: logout
Regzox 65ff479
story #15455: logout works
Regzox c3c9477
story #15455 style: enable scss compilation and update scss
Regzox 2cc7bce
story #15455 config: update redirect_url for each missed oauth client
Regzox cc1b924
story #15455 lint: spotless apply
Regzox 73e49c2
story #15455 feat(passwordless-unify): move subrogation check at webf…
Regzox 532a2e2
story #15455 feat(passwordless-unify): unify passwordless and login-p…
Regzox 5c22001
story #15455 test: fix broken tests
Regzox bcd7e41
story #15455 style: fix typo
Regzox 7132dd4
story #15455 feat(template): setup our templates and styles
Regzox 44c8ed0
story #15455 fix(subrogation): customer id pattern
Regzox fca1418
story #15455 conf: rename secret token key
Regzox 7d137a7
story #15455 conf(cas): update deployment application conf
Regzox 225dce2
story #15455 fix: secret token key
Regzox 688bf0f
story #15455 conf(test): add hardcoded crypto settings
Regzox 5f092b8
story #15455 conf: update client redirect uris
Regzox fc8c04c
story #15455 conf(test): add crypto params
Regzox dc953dd
story #15455 fix(password-mgt): change password args permutation
Regzox 4dfbd16
story #15455 style: fix typo var
Regzox 4a08b69
story #15455 style: fix i18n configs
Regzox cd5c3c2
story #15455 style: remove pom java 17 comment
Regzox ed8eca5
story #15455 style: code cleanup
Regzox 540f09b
story #15455 style: remove OIDCProviderMetadata.findProviderMetadata …
Regzox 4ef9437
story #15455 test: add pac4j client builder tests
Regzox fa773bb
story #15455 style: rename method
Regzox bc2861a
story #15455 style: rename method
Regzox 2e7ae50
story #15455: spotless
Regzox 14edd60
story #15455 style: remove TODOs
Regzox 5e72c9a
story #15455 style: remove login z-index
Regzox 24930f5
story #15455 fix: custom passwordless missing actions
Regzox fd9ab5d
story #15455 fix: clean flow scope when user find
Regzox 7c0e756
story #15307 fix: truststore generation for devs
Regzox 4eaf567
story #15455 deps: cleanup versions
Regzox a26b0a9
story #15455 clean: pom and annotations
Regzox d7008d3
story #15455: remove useless items
Regzox a3f13cb
story #15455 pom: upgrade cas version
Regzox 5504598
story #15455 fix: iam crashes
Regzox caa3198
story #15455 fix: remove passwordless feature
Regzox f47b715
story #15455 fix: override token validator method
Regzox 69d8311
story #15455 fix: trigger change password action
Regzox 09743dd
story #15455 fix: trigger change password action
Regzox ac98e01
story #15455 fix: remove fixme
Regzox e268e20
story #15455 fix: remove passwordless templates
Regzox 9c786d0
story #15455 fix: remove unused consent.js
Regzox 1647add
story #15455 fix: remove unused js files
Regzox 87f9327
story #15455 fix: remove geo feature from cas.js
Regzox 7f86952
story #15455 fix: remove geo feature from cas.js
Regzox b0f9a62
story #15455 fix: service username magic var
Regzox dfd27e5
story #15455 fix: remove commented code
Regzox bac2468
story #15455 fix: client http context
Regzox ef51b12
story #15455: change fixme about vitam client null provider id problem
Regzox ce51785
story #15455: clean poms
Regzox 13851a4
story #15455: clean cas-server pom
Regzox 264615f
story #15455: clean deps
Regzox ed910c1
story #15455: remove commented code
Regzox dcb64f0
story #15455: fix javadoc spacings
Regzox 8afceb4
story #15455: key parametrization
Regzox 8199de4
story #15455 deploy: add parametrizable crypto configs
Regzox 7b887fe
story #15455 deploy: fix cookie_name condition
Regzox ecec3f7
story #15455 deploy: fix key-size property presence
Regzox cc3e435
story #15455 fix: infinite redirect loop when crypto no fully enabled
Regzox c3988f2
story #15455 deploy: improve crypto blocks
Regzox File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
48 changes: 19 additions & 29 deletions
48
...api-iam/iam-commons/src/main/java/fr/gouv/vitamui/iam/common/dto/IdentityProviderDto.java
This file contains hidden or 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
18 changes: 18 additions & 0 deletions
18
...-commons/src/main/java/fr/gouv/vitamui/iam/common/utils/CustomOidcOpMetadataResolver.java
This file contains hidden or 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,18 @@ | ||
| package fr.gouv.vitamui.iam.common.utils; | ||
|
|
||
| import org.pac4j.oidc.config.OidcConfiguration; | ||
| import org.pac4j.oidc.metadata.OidcOpMetadataResolver; | ||
| import org.pac4j.oidc.profile.creator.TokenValidator; | ||
|
|
||
| /** Custom OIDC metadata resolver. */ | ||
| public class CustomOidcOpMetadataResolver extends OidcOpMetadataResolver { | ||
|
|
||
| public CustomOidcOpMetadataResolver(final OidcConfiguration configuration) { | ||
| super(configuration); | ||
| } | ||
|
|
||
| @Override | ||
| protected TokenValidator createTokenValidator() { | ||
| return new CustomTokenValidator(configuration, this.loaded); | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.