Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,7 @@ Collection<Object> createComponents(
if (authorizationDenialMessages.get() == null) {
authorizationDenialMessages.set(new AuthorizationDenialMessages.Default());
}
final var authorizedProjectsResolver = getCustomAuthorizedProjectsResolverOrDefault(extensionComponents);
final AuthorizationService authzService = new AuthorizationService(
settings,
allRolesStore,
Expand All @@ -1164,14 +1165,15 @@ Collection<Object> createComponents(
authorizationDenialMessages.get(),
linkedProjectConfigService,
projectResolver,
getCustomAuthorizedProjectsResolverOrDefault(extensionComponents),
authorizedProjectsResolver,
new CrossProjectModeDecider(settings)
);

components.add(nativeRolesStore); // used by roles actions
components.add(reservedRolesStore); // used by roles actions
components.add(allRolesStore); // for SecurityInfoTransportAction and clear roles cache
components.add(authzService);
components.add(new PluginComponentBinding<>(AuthorizedProjectsResolver.class, authorizedProjectsResolver));

final SecondaryAuthenticator secondaryAuthenticator = new SecondaryAuthenticator(
securityContext.get(),
Expand Down