Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jul 15, 2024
1 parent 5f68d4f commit fe9e38e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ public class SecurityConfiguration {
jwtAuthenticationConverter.setPrincipalClaimName(PREFERRED_USERNAME);
return jwtAuthenticationConverter;
}
<%_ if (!applicationTypeMicroservice) { _%>
OAuth2UserService<OidcUserRequest, OidcUser> oidcUserService() {
final OidcUserService delegate = new OidcUserService();
Expand All @@ -332,7 +333,6 @@ public class SecurityConfiguration {
return new DefaultOidcUser(oidcUser.getAuthorities(), oidcUser.getIdToken(), oidcUser.getUserInfo(), PREFERRED_USERNAME);
};
}
<%_ if (!applicationTypeMicroservice) { _%>
/**
* Map authorities from "groups" or "roles" claim in ID Token.
Expand Down

0 comments on commit fe9e38e

Please sign in to comment.