Skip to content

Commit

Permalink
retrieve fapi conformant property from DB
Browse files Browse the repository at this point in the history
  • Loading branch information
SachiniSiriwardene committed Nov 1, 2023
1 parent 1df9815 commit aa04dcb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1691,6 +1691,10 @@ private void setSpOIDCProperties(Map<String, List<String>> spOIDCProperties, OAu
if (isCertificateBoundAccessToken != null) {
oauthApp.setTlsClientCertificateBoundAccessTokens(Boolean.parseBoolean(isCertificateBoundAccessToken));
}
String isFAPI = getFirstPropertyValue(spOIDCProperties, IS_FAPI_CONFORMANT_APP);
if (isFAPI != null) {
oauthApp.setFapiConformanceEnabled(Boolean.parseBoolean(isFAPI));
}
}

private String getFirstPropertyValue(Map<String, List<String>> propertyMap, String key) {
Expand Down

0 comments on commit aa04dcb

Please sign in to comment.