Skip to content

Commit

Permalink
Change DCR configuration name
Browse files Browse the repository at this point in the history
  • Loading branch information
anjuchamantha committed Feb 16, 2024
1 parent bef486a commit cf15335
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ private void overrideSecuredResource(ResourceConfig securedResource, String norm

if (DCRMgtOGSiServiceFactory.getInstance() != null) {

DCRConfiguration dcrConfiguration = DCRMgtOGSiServiceFactory.getInstance().getDCRConfiguration(tenantDomain);
Boolean isClientAuthenticationRequired = dcrConfiguration.isClientAuthenticationRequired();
DCRConfiguration dcrConfiguration = DCRMgtOGSiServiceFactory.getInstance().getDCRConfiguration();
Boolean isClientAuthenticationRequired = dcrConfiguration.isAuthenticationRequired();
if (isClientAuthenticationRequired.equals(Boolean.TRUE)) {
securedResource.setIsSecured(true);
} else if (isClientAuthenticationRequired.equals(Boolean.FALSE)){
Expand Down

0 comments on commit cf15335

Please sign in to comment.