Skip to content

Commit

Permalink
refactor(jans-auth-server): extracted user and response parameters ha…
Browse files Browse the repository at this point in the history
…ndling into separate methods during authz

#1208
  • Loading branch information
yuriyz committed Apr 28, 2022
1 parent 05e411f commit e30e65e
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 162 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ public void addResponseParameter(String key, String value) {
}
}

public void addResponseParameterIfNotBlank(String key, String value) {
if (StringUtils.isNotBlank(value)) {
addResponseParameter(key, value);
}
}

@Nullable
public String getResponseParameter(@NotNull String key) {
return responseParameters.get(key);
Expand Down
Loading

0 comments on commit e30e65e

Please sign in to comment.