Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Vierbergen <lars.vierbergen@xenit.eu>
  • Loading branch information
tgeens and vierbergenlars authored Dec 19, 2023
1 parent 46d5689 commit 2d8bc12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public OpaInputProvider<Authentication, ServerWebExchange> defaultOpaInputProvid

@Bean
@ConditionalOnMissingBean
@ConditionalOnBean({OpaClient.class})
@ConditionalOnBean(OpaClient.class)
public PolicyDecisionPointClient<Authentication, ServerWebExchange> pdpClient(OpaClient opaClient, OpaQueryProvider<ServerWebExchange> queryProvider, OpaInputProvider<Authentication, ServerWebExchange> inputProvider) {
return new OpenPolicyAgentPDPClient<>(opaClient, queryProvider, inputProvider);
}
Expand Down

0 comments on commit 2d8bc12

Please sign in to comment.