Skip to content
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

Added the client Id white list #7143

Merged
merged 4 commits into from
Nov 21, 2024
Merged

Conversation

Camelia-Orcid
Copy link
Contributor

No description provided.

@Camelia-Orcid
Copy link
Contributor Author


private boolean isClientIdWhiteListed(String clientId) {
List<String> papiClientIdWhiteList = null;
if (StringUtils.isNotBlank(papiClientIdWhiteSpaceSeparatedWhiteList)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets change this so the list is generated on constructor time and here we only need to check if the id is in the list

@amontenegro amontenegro merged commit 06f5e9f into main Nov 21, 2024
14 checks passed
@amontenegro amontenegro deleted the papi_limiting_client_id_white_list branch November 21, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants