Skip to content

SEC-2419: [patch] Impossible to set the PublishAuthorizationSuccess flag on FilterSecurityInterceptor using JavaConfig #2636

Closed
@spring-projects-issues

Description

@spring-projects-issues

Mat Booth (Migrated from SEC-2419) said:

When configuring with the ExpressionUrlAuthorizationConfigurer I am able to set the "OncePerRequest" flag on the FilterSecurityInterceptor with the following code:

http.authorizeRequests().filterSecurityInterceptorOncePerRequest(true);

But I am not able to set the "PublishAuthorizationSuccess" flag in a similar way. The pull request makes a change to the AbstractInterceptUrlConfigurer that makes possible the following configuration:

http.authorizeRequests().filterSecurityPublishAuthorizationSuccess(true);

Metadata

Metadata

Assignees

Labels

in: configAn issue in spring-security-configstatus: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementtype: jiraAn issue that was migrated from JIRA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions