Skip to content

Nice to have: hasAnyAuthority() and hasAnyRole() in AuthorizeExchangeSpec  #6306

@andysworkshop

Description

@andysworkshop

Summary

Non-reactive spring security provides hasAnyAuthority() and hasAnyRole() for allowing access if the user has any of the provided authorities/roles. It would be great to see this supported in the reactive API as well.

Actual Behavior

The named methods do not exist on org.springframework.security.config.web.server.ServerHttpSecurity.AuthorizeExchangeSpec

Expected Behavior

The named methods would be provided.

Configuration

Not applicable.

Version

5.1.2

Sample

Not applicable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions