Skip to content

Commit

Permalink
Fix minor issue in the service holder
Browse files Browse the repository at this point in the history
  • Loading branch information
NipuniBhagya committed Oct 18, 2024
1 parent 41c8354 commit ca61341
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ public class IdentityProviderServiceHolder {
private IdentityProviderServiceHolder() {}

private static class IdentityProviderManagerHolder {
static final IdentityProviderManager SERVICE = (IdentityProviderManager) PrivilegedCarbonContext
.getThreadLocalCarbonContext().getOSGiService(IdentityProviderManager.class, null);
static final IdentityProviderManager SERVICE = IdentityProviderManager.getInstance();
}

private static class ClaimMetadataManagementServiceHolder {
Expand Down

0 comments on commit ca61341

Please sign in to comment.