-
Notifications
You must be signed in to change notification settings - Fork 2
EDGCONX-30 dynamic login option #41
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
base: master
Are you sure you want to change the base?
Conversation
|
@dcrossleyau - Do you have any objection to me creating a version with this change? (v1.0.7) thank you! |
|
I do not know, sorry. |
|
@adamdickmeiss , @wafschneider - any objection to me creating a version with this change? thank you! |
|
Kudos, SonarCloud Quality Gate passed! |
|
|
| if (loginStrategyType == LoginStrategyType.both) { | ||
| if (connexionRequest.getLocalUser() != null && connexionRequest.getLocalUser().strip() | ||
| .contains(" ")) { | ||
| loginStrategyType = LoginStrategyType.valueOf("full"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| loginStrategyType = LoginStrategyType.valueOf("full"); | |
| loginStrategyType = LoginStrategyType.full; |
| .contains(" ")) { | ||
| loginStrategyType = LoginStrategyType.valueOf("full"); | ||
| } else { | ||
| loginStrategyType = LoginStrategyType.valueOf("key"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| loginStrategyType = LoginStrategyType.valueOf("key"); | |
| loginStrategyType = LoginStrategyType.key; |
|
2 similar comments
|
|











The use case for the 'both' configuration is multiple tenants on one cluster preferring different login strategies.
I tested this on nolana and orchid bugfest using 'both', 'full', 'key' and no configuration (default).
I did consult with Adam after my original pull request. He suggested the 'both' option. It leaves the full and key options as they were so hosts can restrict to one or the other when needed.